libx52/daemon
nirenjan e4d1b6aff2 Add update thread enable flag
Prior to this change, the update thread was only checking on
device_update_needed. However, this causes an issue when calling any of
the set methods where the update thread fires, fails to find a device,
and signals the acquisition thread every 50 ms, since the update flag
was never cleared.

This change adds a thread enable flag for the update thread. The update
thread will check that both the thread enable flag and the update needed
flag are set before proceeding with the call to libx52_update.
2021-07-25 08:42:33 -07:00
..
Makefile.am Add LED state and brightness functionality 2021-07-23 14:24:22 -07:00
x52d.conf Fix key names for clock formats in default configuration file 2021-07-23 14:31:58 -07:00
x52d_clock.c Add support for clock and date format 2021-07-23 13:43:21 -07:00
x52d_clock.h Add clock update functionality 2021-07-23 10:13:18 -07:00
x52d_config.c Add LED state and brightness functionality 2021-07-23 14:24:22 -07:00
x52d_config.def Add support for clock and date format 2021-07-23 13:43:21 -07:00
x52d_config.h Add support for clock and date format 2021-07-23 13:43:21 -07:00
x52d_config_parser.c Add support for clock and date format 2021-07-23 13:43:21 -07:00
x52d_const.h Add daemon framework 2021-07-15 15:53:56 -07:00
x52d_device.c Add update thread enable flag 2021-07-25 08:42:33 -07:00
x52d_device.h Add threads to find and update X52 device 2021-07-21 00:01:49 -07:00
x52d_led.c Add LED state and brightness functionality 2021-07-23 14:24:22 -07:00
x52d_main.c Replace printf with PINELOG_DEBUG in main 2021-07-25 08:42:12 -07:00