it's dead.
This commit is contained in:
parent
d6b4ad9725
commit
460ef3eb4a
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue