diff options
author | DrZlo13 <who.just.the.doctor@gmail.com> | 2020-11-19 15:25:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-19 15:25:32 +0300 |
commit | a96f23af9b6847c27b544bbe955f2b19ad09da7c (patch) | |
tree | 235580732b8c98652911ab67d360c280ebc032aa /applications/irda | |
parent | ccd40497ebae6f3da27af4e565cf5f048562e3aa (diff) |
fix multithread logic in template app, update gpio HAL (#250)
* fix multithread logic
* more buffer for dallas id string
* update apps to use new logic
* delay_us small speedup
* add consant qualifier to gpio records and some core api
* fix some apps to use simpler method of getting gpio record
* fix ibutton app, stupid stack problem
Diffstat (limited to 'applications/irda')
-rw-r--r-- | applications/irda/irda.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/applications/irda/irda.c b/applications/irda/irda.c index 31a1a7f2..08043e34 100644 --- a/applications/irda/irda.c +++ b/applications/irda/irda.c @@ -264,11 +264,8 @@ void irda(void* p) { gui->add_widget(gui, widget, GuiLayerFullscreen); // Red LED - // create pin - GpioPin led = led_gpio[0]; - // TODO open record - GpioPin* led_record = &led; + const GpioPin* led_record = &led_gpio[0]; // configure pin gpio_init(led_record, GpioModeOutputOpenDrain); |