Commit 10dd5300 authored by deroo's avatar deroo
Browse files

promote arg of flashErase() from byte to int

parent 760556fc
......@@ -36,7 +36,7 @@ void flashMode(_flashModeEnum mode)
}
//int Nano33BLEflash::erase(byte page)
int flashErasePage(byte page)
int flashErasePage(int page)
{
/*
* Function erases the page given by the input parameter page.
......
......@@ -59,7 +59,7 @@ const unsigned int flashBytesPerWord = 4;
const unsigned int flashNumberOfPages = NRF_FICR->CODESIZE; // 256 pages
void flashMode(_flashModeEnum mode);
int flashErasePage(byte page);
int flashErasePage(int page);
void _wait4flash2Bready(void);
/*
......
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