@@ -197,6 +197,10 @@ void logsWrite()
|
||||
{
|
||||
static const char * error_displayed = nullptr;
|
||||
|
||||
if (!sdMounted()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (isFunctionActive(FUNCTION_LOGS) && logDelay > 0) {
|
||||
tmr10ms_t tmr10ms = get_tmr10ms();
|
||||
if (lastLogTime == 0 || (tmr10ms_t)(tmr10ms - lastLogTime) >= (tmr10ms_t)logDelay*10) {
|
||||
|
||||
Reference in New Issue
Block a user