From 288c9019d13a0a64248d21abd89212eb3c668249 Mon Sep 17 00:00:00 2001 From: Alessio Morale Date: Wed, 3 Dec 2014 01:08:25 +0100 Subject: [PATCH] uncrustify --- flight/pios/common/pios_flash_eeprom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flight/pios/common/pios_flash_eeprom.c b/flight/pios/common/pios_flash_eeprom.c index aabdbf5b3..c9f88f44b 100644 --- a/flight/pios/common/pios_flash_eeprom.c +++ b/flight/pios/common/pios_flash_eeprom.c @@ -214,7 +214,7 @@ int32_t PIOS_Flash_EEPROM_Read(struct flash_eeprom_dev *flash_dev, const uint32_ return -2; } // split the operation into several page operations - uint8_t bytes_read = 0; + uint8_t bytes_read = 0; const uint16_t page_len = flash_dev->cfg->page_len; @@ -230,7 +230,7 @@ int32_t PIOS_Flash_EEPROM_Read(struct flash_eeprom_dev *flash_dev, const uint32_ if (status < 0) { return status; } - uint16_t current_block_len = len - bytes_read; + uint16_t current_block_len = len - bytes_read; uint16_t index_within_page = (address16 + bytes_read) % page_len; // prevent overflowing the page boundary current_block_len = MIN(page_len - index_within_page, current_block_len);