From 780aeca3f9553a3a198a3af32e772d144ca4bb96 Mon Sep 17 00:00:00 2001 From: Martin Budden Date: Wed, 27 Jul 2016 09:04:35 +0100 Subject: [PATCH] Removed spurious CRLF line ending that was causing problems with git --- src/main/io/serial_4way_avrootloader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/io/serial_4way_avrootloader.c b/src/main/io/serial_4way_avrootloader.c index 4ccea1601..f0f552581 100644 --- a/src/main/io/serial_4way_avrootloader.c +++ b/src/main/io/serial_4way_avrootloader.c @@ -330,7 +330,7 @@ uint8_t BL_WriteFlash(ioMem_t *pMem) return BL_WriteA(CMD_PROG_FLASH, pMem, (40 / START_BIT_TIMEOUT_MS)); } -#endif +#endif #if defined(USE_SERIAL_4WAY_BLHELI_BOOTLOADER) && defined(USE_FAKE_ESC) #define FAKE_PAGE_SIZE 512 @@ -877,7 +877,7 @@ uint8_t BL_PageErase(ioMem_t *pMem) uint16_t address = pMem->D_FLASH_ADDR_H << 8 | pMem->D_FLASH_ADDR_L; if (address + FAKE_PAGE_SIZE > FAKE_FLASH_SIZE) return false; - memset(&fakeFlash[address], 0xFF, FAKE_PAGE_SIZE); + memset(&fakeFlash[address], 0xFF, FAKE_PAGE_SIZE); return true; }