diff options
| author | Nick Moore <nick@zoic.org> | 2019-04-04 20:27:25 +1100 |
|---|---|---|
| committer | Nick Moore <nick@zoic.org> | 2019-04-09 10:56:53 +1000 |
| commit | fdaff00c78e69644eddf828b9b23795db168f8d4 (patch) | |
| tree | 104f692febf38c5d300c3b031aea6c1e057e3e97 /ports/nrf/peripherals | |
| parent | bcb87ffd6cd954e3fbdd2354cf83f9974c4d8547 (diff) | |
Make some space for NVM adafruit/circuitpython#1042
Diffstat (limited to 'ports/nrf/peripherals')
| -rw-r--r-- | ports/nrf/peripherals/nrf/nvm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ports/nrf/peripherals/nrf/nvm.c b/ports/nrf/peripherals/nrf/nvm.c index f9cc1b806..d8fddc4dc 100644 --- a/ports/nrf/peripherals/nrf/nvm.c +++ b/ports/nrf/peripherals/nrf/nvm.c @@ -25,7 +25,6 @@ * THE SOFTWARE. */ -//#include "py/obj.h" #include "py/runtime.h" #include <stdio.h> @@ -33,12 +32,12 @@ #include "nrf_nvmc.h" +#define FLASH_PAGE_SIZE (4096) + #ifdef BLUETOOTH_SD #include "ble_drv.h" #include "nrf_sdm.h" -#define FLASH_PAGE_SIZE (4096) - STATIC void sd_flash_operation_start(void) { sd_flash_operation_status = SD_FLASH_OPERATION_IN_PROGRESS; } |
