Do not FACTORY_INSTALL on ARCH_PORTDUINO (#10343)
This commit is contained in:
+1
-1
@@ -1205,7 +1205,7 @@ void NodeDB::loadFromDisk()
|
|||||||
spiLock->unlock();
|
spiLock->unlock();
|
||||||
#endif
|
#endif
|
||||||
#ifdef FSCom
|
#ifdef FSCom
|
||||||
#ifdef FACTORY_INSTALL
|
#if defined(FACTORY_INSTALL) && !defined(ARCH_PORTDUINO)
|
||||||
spiLock->lock();
|
spiLock->lock();
|
||||||
if (!FSCom.exists("/prefs/" xstr(BUILD_EPOCH))) {
|
if (!FSCom.exists("/prefs/" xstr(BUILD_EPOCH))) {
|
||||||
LOG_WARN("Factory Install Reset!");
|
LOG_WARN("Factory Install Reset!");
|
||||||
|
|||||||
Reference in New Issue
Block a user