Revert "Use gpio_read to toggle led state, saves 24 bytes of flash."

This reverts commit 83f040dc40.
This commit is contained in:
Eric Helgeson 2021-06-14 18:25:34 -05:00
parent 3b83116368
commit 054637bd6a

View File

@ -535,7 +535,9 @@ void onFalseInit(void)
LOG_FILE.sync();
while(true) {
for(int i = 0; i < 3; i++) {
gpio_write(LED, !gpio_read(LED));
gpio_write(LED, high);
delay(250);
gpio_write(LED, low);
delay(250);
}
delay(3000);
@ -549,7 +551,9 @@ void noSDCardFound(void)
{
while(true) {
for(int i = 0; i < 5; i++) {
gpio_write(LED, !gpio_read(LED));
gpio_write(LED, high);
delay(250);
gpio_write(LED, low);
delay(250);
}
delay(3000);