mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-26 22:33:24 +00:00
change to logical and operator
This commit is contained in:
parent
18d5712ecd
commit
71a9f46451
@ -33,7 +33,7 @@ bool copyFile(const char* from, const char* to)
|
||||
bool renameFile(const char* pathFrom, const char* pathTo)
|
||||
{
|
||||
#ifdef FSCom
|
||||
if (copyFile(pathFrom, pathTo) & FSCom.remove(pathFrom) ) {
|
||||
if (copyFile(pathFrom, pathTo) && FSCom.remove(pathFrom) ) {
|
||||
return true;
|
||||
} else{
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user