diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-11-30 11:27:28 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-11-30 11:27:28 +0000 |
| commit | 93a10a982d3fcab0c469e2805b2034bba4e59a55 (patch) | |
| tree | afe8f05b6c1d33e5abb08077a93bbffafce710bf /cMain.c | |
| parent | f62edf7675f8930f39f1eb45239a674b1c3a237a (diff) | |
New upstream version 6.0.24.51.3+repack+really50upstream/6.0.24.51.3+repack+really50
Diffstat (limited to 'cMain.c')
| -rw-r--r-- | cMain.c | 17 |
1 files changed, 2 insertions, 15 deletions
@@ -50,7 +50,6 @@ VOID SendSmartID(struct PORTCONTROL * PORT); int CanPortDigi(int Port);
int KissEncode(UCHAR * inbuff, UCHAR * outbuff, int len);
void MQTTTimer();
-void SaveMH();
#include "configstructs.h"
@@ -1508,7 +1507,7 @@ BOOL Start() upnpInit();
- lastSaveSecs = CurrentSecs = lastSlowSecs = time(NULL);
+ CurrentSecs = lastSlowSecs = time(NULL);
return 0;
}
@@ -2106,19 +2105,7 @@ VOID TIMERINTERRUPT() }
*/
}
-
- // Check Autosave Nodes and MH timer
-
- if (CurrentSecs - lastSaveSecs >= 3600) // 1 per hour
- {
- lastSaveSecs = CurrentSecs;
-
- if (AUTOSAVE == 1)
- SaveNodes();
- if (AUTOSAVEMH == 1)
- SaveMH();
- }
-
+
if (L4TIMERFLAG >= 10) // 1 PER SEC
{
L4TIMERFLAG -= 10;
|
