diff --git a/ports/nrf/boards/feather52/board.c b/ports/nrf/boards/feather52/board.c index 50dde14d81..e0b77437b9 100644 --- a/ports/nrf/boards/feather52/board.c +++ b/ports/nrf/boards/feather52/board.c @@ -35,16 +35,14 @@ #define BOOTLOADER_VERSION_REGISTER NRF_TIMER2->CC[0] uint32_t bootloaderVersion = 0; -void board_init (void) -{ +void board_init(void) { // Retrieve bootloader version bootloaderVersion = BOOTLOADER_VERSION_REGISTER; } // Check the status of the two buttons on CircuitPlayground Express. If both are // pressed, then boot into user safe mode. -bool board_requests_safe_mode (void) -{ +bool board_requests_safe_mode(void) { // gpio_set_pin_function(PIN_PA14, GPIO_PIN_FUNCTION_OFF); // gpio_set_pin_direction(PIN_PA14, GPIO_DIRECTION_IN); // gpio_set_pin_pull_mode(PIN_PA14, GPIO_PULL_DOWN); @@ -61,8 +59,7 @@ bool board_requests_safe_mode (void) return false; } -void reset_board (void) -{ +void reset_board(void) { // uint8_t empty[30]; // memset(empty, 0, 30); // digitalio_digitalinout_obj_t neopixel_pin;