Merge pull request #709 from ourairquality/onewire-signed-var

onewire: fix some variable declarations that should have been signed.
This commit is contained in:
Ruslan V. Uss 2019-04-07 17:06:56 +05:00 committed by GitHub
commit 92baec5cfa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;