None
None
combo input
int flash_cnt = 0;
bool flash_state = false;
const int FLASH_LEN = 0x100;
sysmon_disable_blinker();
palSetPadMode(LED2_PORT, LED2_PIN, PAL_MODE_OUTPUT_PUSHPULL);
flash_cnt = 0;
flash_state = false;
if (flash_cnt > 0)
flash_cnt--;
bool fs = flash_cnt > 0;
if (fs != flash_state) {
palWritePad(LED2_PORT, LED2_PIN, fs);
flash_state = fs;
}
if (attr_input) {
flash_cnt = FLASH_LEN;
}