mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
permngr: Dont send out internal events on ubus.
We should not send the button pressed event as that is an internal thing. we send button pressed when the button is actually released and we never send button released. To the reset of the system the only thing that can happen is button pressed.
This commit is contained in:
parent
1b94f625ea
commit
c5d25fdfad
1 changed files with 1 additions and 1 deletions
|
|
@ -299,7 +299,7 @@ static void button_handler(struct uloop_timeout *timeout)
|
|||
if (! timer_started(drv_node)) {
|
||||
timer_start(drv_node);
|
||||
DBG(1, " %s pressed", drv_node->drv->name);
|
||||
button_ubus_interface_event(global_ubus_ctx, node->name, BUTTON_PRESSED);
|
||||
// button_ubus_interface_event(global_ubus_ctx, node->name, BUTTON_PRESSED);
|
||||
}
|
||||
if(timer_valid(drv_node, node->minpress, 0))
|
||||
led_pressindicator_set();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue