it's dead.

This commit is contained in:
rusefillc 2022-02-07 07:55:21 -05:00
parent d6b4ad9725
commit 460ef3eb4a
1 changed files with 0 additions and 17 deletions

View File

@ -177,20 +177,3 @@ bool mmc_lld_is_write_protected(MMCDriver *mmcp)
return false;
}
#endif
#define STATUS_LED_PIN 8
#define STATUS_LED_PORT GPIOG
void BLIIINK(int t) {
int i, j;
palSetPadMode(STATUS_LED_PORT, STATUS_LED_PIN, PAL_MODE_OUTPUT_PUSHPULL);
//while (true) {
for (j = 0; j < 2; j++) {
palClearPad(STATUS_LED_PORT, STATUS_LED_PIN);
for (i = 0; i < 2 * t; i++) {
palTogglePad(STATUS_LED_PORT, STATUS_LED_PIN);
chThdSleepMilliseconds(250);
}
chThdSleepMilliseconds(1000);
}
}