diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-06-12 19:14:00 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-06-12 19:14:00 +0200 |
commit | e79f744ba8216a67fcaf94228e89719441e6fb7d (patch) | |
tree | e3a75f970c7691f81c70dcbfc490975cfcf0b908 /src/common/includes | |
parent | e20f8816f48aa80a82b241ef73e2d9ab92833f87 (diff) | |
download | glutte-o-matic-e79f744ba8216a67fcaf94228e89719441e6fb7d.tar.gz glutte-o-matic-e79f744ba8216a67fcaf94228e89719441e6fb7d.tar.bz2 glutte-o-matic-e79f744ba8216a67fcaf94228e89719441e6fb7d.zip |
Transmit voltage and temperature in beacons
Diffstat (limited to 'src/common/includes')
-rw-r--r-- | src/common/includes/Core/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/includes/Core/common.h b/src/common/includes/Core/common.h index 92cb977..7e06975 100644 --- a/src/common/includes/Core/common.h +++ b/src/common/includes/Core/common.h @@ -66,3 +66,6 @@ void __disable_irq(void); #else void hard_fault_handler_c(uint32_t *); #endif + +// Round a value to the nearest 0.5 +float round_float_to_half_steps(float value); |