Fix Unitemp small bug

Use OneWireHostSearchModeNormal instead of NORMAL_SEARCH
This commit is contained in:
MX 2023-03-09 05:03:31 +03:00
parent ee41413c6a
commit 319108b11c
No known key found for this signature in database
GPG key ID: 7CCC66B7DBDD1C83

View file

@ -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;