rename led blink fast name

This commit is contained in:
hathach
2018-11-23 11:46:21 +07:00
parent 94e23a928c
commit 4f48b8b51a
7 changed files with 20 additions and 16 deletions

View File

@ -235,7 +235,7 @@ void read_block(uint32_t block_no, uint8_t *data) {
/** uf2 upgrade complete -> inform bootloader to update setting and reset */
static void uf2_write_complete(uint32_t numBlocks)
{
led_blink_fast(false);
led_red_blink_fast(false);
dfu_update_status_t update_status;
@ -285,7 +285,7 @@ int write_block(uint32_t block_no, uint8_t *data, bool quiet/*, WriteState *stat
static bool first_write = true;
if ( first_write ) {
first_write = false;
led_blink_fast(true);
led_red_blink_fast(true);
}
flash_nrf5x_write(bl->targetAddr, bl->data, bl->payloadSize, true);