mirror of https://github.com/nirenjan/libx52.git
Some libx52 APIs, notably the clock related ones, can return LIBX52_ERROR_TRY_AGAIN. This is not a real error, but it is useful information. It indicates to the application that there is no change applied to the internal state, and that it should wait until trying again. Given that the clock thread calls the libx52_set_clock method every second, treating the TRY_AGAIN state as a failure and logging it causes a lot of spurious noise in the logs. This change ensures that the API returns a real error before logging it. |
||
---|---|---|
.. | ||
Makefile.am | ||
x52d.conf | ||
x52d_config.c | ||
x52d_config.def | ||
x52d_config.h | ||
x52d_config_parser.c | ||
x52d_const.h | ||
x52d_device.c | ||
x52d_device.h | ||
x52d_main.c |