cppchecker fixes

This commit is contained in:
iceman1001 committed 2021-02-23 23:00:29 +01:00
1 parent 603e288c4f
commit 4620c0b21e
6 files changed
+41 -46

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ typedef struct {
bool ParityValid; // Only valid for responses
} wiegand_card_t;
bool get_bit_by_position(wiegand_message_t *data, uint8_t pos);
uint8_t get_bit_by_position(wiegand_message_t *data, uint8_t pos);
bool set_bit_by_position(wiegand_message_t *data, bool value, uint8_t pos);
uint64_t get_linear_field(wiegand_message_t *data, uint8_t firstBit, uint8_t length);