Commit 711e8aea authored by deroo's avatar deroo
Browse files

spaces to tabs in keywords.txt; |= to &= on mask

parent 50f7cb2a
......@@ -4,7 +4,7 @@
_flashModeEnum KEYWORD1
# functions
Nano33BLEflash KEYWORD2
Nano33BLEflash KEYWORD2
flashMode KEYWORD2
flashErasePage KEYWORD2
_wait4flash2Bready KEYWORD2
......@@ -13,6 +13,6 @@ _wait4flash2Bready KEYWORD2
FLASH_READONLY LITERAL1
FLASH_WRITE LITERAL1
FLASH_ERASE LITERAL1
flashBytesPerPage LITERAL1
flashBytesPerWord LITERAL1
flashNumberOfPages LITERAL1
flashBytesPerPage LITERAL1
flashBytesPerWord LITERAL1
flashNumberOfPages LITERAL1
......@@ -21,7 +21,7 @@ _flashAddr = (_NANO33BLE_FLASH_BASE + NRF_FICR->CODESIZE * NRF_FICR->CODEPAGESIZ
// cannot be done directly in NANO33BLE_FLASH macro
#define _NANO33BLE_FLASH_DECR_ADDR(_bytesInArray) \
_flashAddr -= (_bytesInArray); \
_flashAddr |= 0xFFFFC;
_flashAddr &= 0xFFFFC;
// public macro: declare array in flash at highest flash addresses available
// first push _arrayAddr down by size of array in bytes,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment