Removed sleep from dbus poll - it stashes up delay in signal processing

This commit is contained in:
Fabio Manganiello 2022-01-26 23:44:03 +01:00
parent e8364537b7
commit 3cefa13d51
1 changed files with 0 additions and 3 deletions

View File

@ -128,10 +128,7 @@ void get_battery_info(BatteryInfo* info)
msg = dbus_connection_pop_message(conn);
if (!msg)
{
sleep(1);
continue;
}
if (dbus_message_is_signal(msg, "io.cutiepi.interface", "updateEvent"))
{