summaryrefslogtreecommitdiffstats
path: root/src/canutil/read.h
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2013-12-29 11:55:35 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2013-12-29 12:00:52 -0500
commitc2c7ef1dfe4cae6b5831ffab0ce5780b27e0c25e (patch)
treed490768ad2effe746406c60419aae905cfeead83 /src/canutil/read.h
parent6ce03a4f1b229e605da08b073fad6f7c0fe8bf10 (diff)
Standardize on snake_case naming as this is a C library.
Diffstat (limited to 'src/canutil/read.h')
-rw-r--r--src/canutil/read.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/canutil/read.h b/src/canutil/read.h
index 6ac4eebe..3742d6d1 100644
--- a/src/canutil/read.h
+++ b/src/canutil/read.h
@@ -16,10 +16,10 @@ extern "C" {
*
* Returns the final, transformed value of the signal.
*/
-float parseFloat(uint64_t data, uint8_t bitPosition, uint8_t bitSize,
+float bitfield_parse_float(uint64_t data, uint8_t bit_offset, uint8_t bit_size,
float factor, float offset);
-bool parseBoolean(uint64_t data, uint8_t bitPosition, uint8_t bitSize,
+bool bitfield_parse_bool(uint64_t data, uint8_t bit_offset, uint8_t bit_size,
float factor, float offset);
#ifdef __cplusplus