summaryrefslogtreecommitdiffstats
path: root/src/canutil
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-04 11:12:21 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-04 11:12:21 -0500
commit561145ed1f4f281ce47f3daaf0b1ec033c0b0402 (patch)
tree7fd23f201801f6659e3bcec0adfaca8713cb08ce /src/canutil
parent57ea37a8fad405df23256144367b6a18a5ab1580 (diff)
Standardize names for functions.
Diffstat (limited to 'src/canutil')
-rw-r--r--src/canutil/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/canutil/write.c b/src/canutil/write.c
index 09e6caa3..5b91aaf9 100644
--- a/src/canutil/write.c
+++ b/src/canutil/write.c
@@ -12,7 +12,7 @@ uint64_t eightbyte_encode_float(float value, uint8_t bit_offset, uint8_t bit_siz
raw += 0.5;
}
uint64_t result = 0;
- if(!set_bit_field(&result, (uint64_t)raw, bit_offset, bit_size)) {
+ if(!eightbyte_set_bitfield(&result, (uint64_t)raw, bit_offset, bit_size)) {
// debug("%f will not fit in a %d bit field", value, bit_size);
}
return result;