Skip to content

Commit 82fa4c3

Browse files
committed
Slightly reworded informative message
1 parent b10d3f7 commit 82fa4c3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/NvmFlash.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,7 @@ NvmFlash::eraseAll()
138138
addr_in_flash = addr_in_flash / 2;
139139

140140
//safe wait. Check and see if this is needed all the time
141-
while(!nvm_is_ready())
142-
{
143-
std::cout<<endl<<"Waiting ..... ";
144-
}
141+
while (!nvm_is_ready()) { }
145142

146143
//clear error bits
147144
uint16_t status_reg = _samba.readWord(NVM_STATUS_REG) & 0xffff;
@@ -306,7 +303,7 @@ NvmFlash::getBootFlash()
306303
void
307304
NvmFlash::setBootFlash(bool enable)
308305
{
309-
std::cout<<"Flash boot is the only available option";
306+
printf("Ignoring set boot from flash flag.\n");
310307
}
311308

312309

0 commit comments

Comments
 (0)