altos: Use stdbool true/false instead of TRUE/FALSE
[fw/altos] / src / drivers / ao_trng_send.c
index 4e02c0ce75d8c1bd04f68b3527c9e9e6dee42624..e8df4cea8e69f25861a73a81acfedcc5f372dfad 100644 (file)
@@ -48,7 +48,7 @@ ao_trng_start(void)
                         * aren't of poor quality
                         */
                        ao_delay(delay);
-                       trng_running = TRUE;
+                       trng_running = true;
                }
                ao_mutex_put(&random_mutex);
        }
@@ -213,7 +213,7 @@ static void ao_trng_suspend(void *arg)
 #ifdef AO_TRNG_ENABLE_PORT
        ao_gpio_set(AO_TRNG_ENABLE_PORT, AO_TRNG_ENABLE_BIT, AO_TRNG_ENABLE_PIN, 0);
 #endif
-       trng_running = FALSE;
+       trng_running = false;
 }
 
 static void ao_trng_resume(void *arg)