summaryrefslogtreecommitdiff
path: root/ports/nrf/peripherals
diff options
context:
space:
mode:
authorNick Moore <nick@zoic.org>2019-04-04 20:27:25 +1100
committerNick Moore <nick@zoic.org>2019-04-09 10:56:53 +1000
commitfdaff00c78e69644eddf828b9b23795db168f8d4 (patch)
tree104f692febf38c5d300c3b031aea6c1e057e3e97 /ports/nrf/peripherals
parentbcb87ffd6cd954e3fbdd2354cf83f9974c4d8547 (diff)
Make some space for NVM adafruit/circuitpython#1042
Diffstat (limited to 'ports/nrf/peripherals')
-rw-r--r--ports/nrf/peripherals/nrf/nvm.c5
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;
}