Skip to content

Commit 2126f7b

Browse files
committed
Cosmetics remove empty/double newlines
1 parent e171f9d commit 2126f7b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

app/main.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,12 @@ volatile const uint8_t bootloader_data[] __attribute__ ((section (".bootloader_v
5050

5151
volatile const uint8_t bootloader_identifier[] __attribute__ ((section (".bootloader_identification"), used)) = "MCUboot Arduino";
5252

53-
54-
5553
DigitalOut red(BOARD_RED_LED, 1);
5654
DigitalOut green(BOARD_GREEN_LED, 1);
5755
DigitalOut blue(BOARD_BLUE_LED, 1);
58-
5956
DigitalIn boot_sel(BOARD_BOOT_SEL,PullDown);
6057

6158
Ticker swap_ticker;
62-
6359
bool debug_enabled = false;
6460

6561
static void led_swap_feedback_off(void) {
@@ -117,8 +113,6 @@ int target_debug_init(void) {
117113
return 0;
118114
}
119115

120-
121-
122116
#if MCUBOOT_APPLICATION_DFU
123117
USBD_HandleTypeDef USBD_Device;
124118
extern PCD_HandleTypeDef hpcd;
@@ -179,7 +173,6 @@ static int start_dfu(void) {
179173
}
180174

181175
int start_secure_application(void) {
182-
183176
int rc;
184177

185178
BOOT_LOG_INF("Starting MCUboot");
@@ -209,7 +202,6 @@ int start_secure_application(void) {
209202
}
210203

211204
int main(void) {
212-
213205
target_debug_init();
214206

215207
BOOT_LOG_INF("Starting Arduino bootloader");

0 commit comments

Comments
 (0)