Skip to content

Commit

Permalink
Add float point acquisition for modbus
Browse files Browse the repository at this point in the history
  • Loading branch information
rtorresmatheus authored and alla3 committed Sep 23, 2021
1 parent 86aabdc commit 9b008f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/iface-modbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ enum modbus_types_offset {
};

union modbus_types {
float val_float;
uint8_t val_bool;
uint8_t val_byte;
uint16_t val_u16;
Expand Down

0 comments on commit 9b008f0

Please sign in to comment.