Commit 58d87d4cd97b984f56ca2bfb82ced75a4c4991b1

Authored by Adhidarma Hadiwinoto
1 parent 4bd91feaaf
Exists in master

MODEM-TESTER bugfix setTimeout to setInterval

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -74,7 +74,7 @@ port = new SerialPort(config.modem.device, { baudRate: 115200 }, async (err) =>
74 74 }
75 75 }
76 76  
77   - setTimeout(() => {
  77 + setInterval(() => {
78 78 writeToPort('AT+CSQ\r');
79 79 }, 60000);
80 80 });