mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-25 22:20:27 +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)
|
bool renameFile(const char* pathFrom, const char* pathTo)
|
||||||
{
|
{
|
||||||
#ifdef FSCom
|
#ifdef FSCom
|
||||||
if (copyFile(pathFrom, pathTo) & FSCom.remove(pathFrom) ) {
|
if (copyFile(pathFrom, pathTo) && FSCom.remove(pathFrom) ) {
|
||||||
return true;
|
return true;
|
||||||
} else{
|
} else{
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user