mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-08 14:12:05 +00:00
missed one.
This commit is contained in:
parent
a13a299b92
commit
91933c66f3
@ -103,7 +103,7 @@ void StoreForwardModule::populateSDCard()
|
||||
LOG_INFO("Creating StoreForward directory");
|
||||
SD.mkdir("/storeforward");
|
||||
}
|
||||
this->storageType = StorageType::SDCARD;
|
||||
this->storageType = StorageType::ST_SDCARD;
|
||||
uint32_t numberOfPackets = (this->records ? this->records : (((SD.totalBytes() / 3) * 2) / sizeof(PacketHistoryStruct)));
|
||||
// only allocate space for one temp copy
|
||||
this->packetHistory = (PacketHistoryStruct *)malloc(sizeof(PacketHistoryStruct));
|
||||
|
Loading…
Reference in New Issue
Block a user