diff options
| author | Keith Packard <keithp@keithp.com> | 2018-08-15 19:17:19 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2018-10-13 08:22:50 -0700 |
| commit | 684741765117611b7d666efbdfafd87c6199752c (patch) | |
| tree | 6ae2bc7cb368882c9767a9c01d0a0389adc2f988 /src/drivers/ao_trng_send.c | |
| parent | c417ab1de2a083b5fcff2e081e4feb2a65887903 (diff) | |
altos: Use stdbool true/false instead of TRUE/FALSE
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_trng_send.c')
| -rw-r--r-- | src/drivers/ao_trng_send.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/ao_trng_send.c b/src/drivers/ao_trng_send.c index 4e02c0ce..e8df4cea 100644 --- a/src/drivers/ao_trng_send.c +++ b/src/drivers/ao_trng_send.c @@ -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) |
