Emit completed if timeout is 0.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2026-06-01 19:30:47 +02:00
parent 13d2e84595
commit 0245933224

View File

@@ -104,6 +104,7 @@ int button_wait(void) {
button_timeout = phy_data.up_btn * 1000;
}
if (button_timeout == 0) {
signal_emit(SIGNAL_USER_PRESENCE_COMPLETED);
return 0;
}
signal_user_presence_request_data_t data = {