fix(formatting): led.c
This commit is contained in:
@@ -70,7 +70,7 @@ static void
|
|||||||
led_set('0', d);
|
led_set('0', d);
|
||||||
|
|
||||||
/* wait for the condition to change */
|
/* wait for the condition to change */
|
||||||
while(d->rate == 0) {
|
while (d->rate == 0) {
|
||||||
if ((err = pthread_cond_wait(&cv, &mp)) != 0) {
|
if ((err = pthread_cond_wait(&cv, &mp)) != 0) {
|
||||||
log_fatal("pthread_cond_wait: %s", strerror(err));
|
log_fatal("pthread_cond_wait: %s", strerror(err));
|
||||||
pthread_exit(0);
|
pthread_exit(0);
|
||||||
|
Reference in New Issue
Block a user