Commit a0df4406 authored by deroo's avatar deroo
Browse files

signed cast to avoid compilation warning

parent 10dd5300
......@@ -67,7 +67,7 @@ int flashErasePage(int page)
}
return -3;
}
if (page >= NRF_FICR->CODESIZE) { // 256
if (page >= (signed)(NRF_FICR->CODESIZE)) { // 256
if (Serial){
Serial.println("Attempt to erase non-existant page denied");
Serial.println("Advice: use pages b/t 50 and 255");
......
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