mirror of https://github.com/nirenjan/libx52.git
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. |
||
---|---|---|
.. | ||
Makefile.am | ||
x52d.conf | ||
x52d_clock.c | ||
x52d_clock.h | ||
x52d_config.c | ||
x52d_config.def | ||
x52d_config.h | ||
x52d_config_parser.c | ||
x52d_const.h | ||
x52d_device.c | ||
x52d_device.h | ||
x52d_led.c | ||
x52d_main.c |