commit | 710c89ed1159536282485e9f372a37560b24ba3c | [log] [tgz] |
---|---|---|
author | Lasse Fröhner <lasse@starcopter.com> | Fri Jul 12 09:21:28 2024 +0200 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Fri Aug 09 17:58:16 2024 +0100 |
tree | 75506879cd5d8777448d3b205ae06d4e302afec8 | |
parent | 2ef8c4e74f24b7713b4ebc592da78d94edd1737e [diff] |
fix: initialize gpio_keys input from pin state Some kind of race condition caused the gpio_keys input module to occasionally miss an event after boot. This is fixed by initializing the pin state variable in the input_gpio_keys module. Related to https://github.com/starcopter/bms-firmware/issues/6 Signed-off-by: Lasse Fröhner <lasse@starcopter.com>