onewire: fix some variable declarations that should have been signed.

This commit is contained in:
Our Air Quality 2019-04-06 11:33:00 +11:00
parent d0373af5c0
commit c2267a1d55

View file

@ -216,7 +216,7 @@ onewire_addr_t onewire_search_next(onewire_search_t *search, int pin) {
uint8_t id_bit_number; uint8_t id_bit_number;
uint8_t last_zero, search_result; uint8_t last_zero, search_result;
int rom_byte_number; int rom_byte_number;
uint8_t id_bit, cmp_id_bit; int8_t id_bit, cmp_id_bit;
onewire_addr_t addr; onewire_addr_t addr;
unsigned char rom_byte_mask; unsigned char rom_byte_mask;
bool search_direction; bool search_direction;