Skip to content

Commit

Permalink
onewire: support dynamic gpio
Browse files Browse the repository at this point in the history
  • Loading branch information
niki-timofe committed Mar 1, 2023
1 parent bc66345 commit a0617b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion onewire/onewire_worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ OneWireWorker* onewire_worker_alloc() {

instance->thread = furi_thread_alloc_ex("OneWireWorker", 2048, onewire_worker_task, instance);

instance->onewire_host = onewire_host_alloc();
instance->onewire_host = onewire_host_alloc(&ibutton_gpio);

onewire_worker_change_state(instance, OneWireWorkerReady);

Expand Down
2 changes: 1 addition & 1 deletion thermometer_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include "scenes/thermometer_scene.h"

#define TM_APP_VERSION "0.1.0"
#define TM_APP_VERSION "0.1.1"

struct Thermometer {
Gui* gui;
Expand Down

0 comments on commit a0617b1

Please sign in to comment.