From 319108b11c32aa58097faf011948324ff5748da0 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Thu, 9 Mar 2023 05:03:31 +0300 Subject: [PATCH] Fix Unitemp small bug Use OneWireHostSearchModeNormal instead of NORMAL_SEARCH --- applications/plugins/unitemp/interfaces/OneWireSensor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/plugins/unitemp/interfaces/OneWireSensor.c b/applications/plugins/unitemp/interfaces/OneWireSensor.c index b951fc55b..377eb0d08 100644 --- a/applications/plugins/unitemp/interfaces/OneWireSensor.c +++ b/applications/plugins/unitemp/interfaces/OneWireSensor.c @@ -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;