diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-04 11:12:21 -0500 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-04 11:12:21 -0500 |
commit | 561145ed1f4f281ce47f3daaf0b1ec033c0b0402 (patch) | |
tree | 7fd23f201801f6659e3bcec0adfaca8713cb08ce /src/canutil | |
parent | 57ea37a8fad405df23256144367b6a18a5ab1580 (diff) |
Standardize names for functions.
Diffstat (limited to 'src/canutil')
-rw-r--r-- | src/canutil/write.c | 2 |
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; |