Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
deroo
Nano33BLE-flash
Commits
a0df4406
Commit
a0df4406
authored
Aug 20, 2021
by
deroo
Browse files
signed cast to avoid compilation warning
parent
10dd5300
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Nano33BLEflash.cpp
View file @
a0df4406
...
...
@@ -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"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment