mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 13:03:13 +00:00
Fix Unitemp small bug
Use OneWireHostSearchModeNormal instead of NORMAL_SEARCH
This commit is contained in:
parent
ee41413c6a
commit
319108b11c
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ void unitemp_onewire_bus_enum_init(OneWireBus* bus) {
|
|||
}
|
||||
|
||||
uint8_t* unitemp_onewire_bus_enum_next(OneWireBus* bus) {
|
||||
if(onewire_host_search(bus->host, onewire_enum, NORMAL_SEARCH)) {
|
||||
if(onewire_host_search(bus->host, onewire_enum, OneWireHostSearchModeNormal)) {
|
||||
return onewire_enum;
|
||||
} else {
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue