Commit 27c831f7 authored by Simon Gölzhäuser's avatar Simon Gölzhäuser
Browse files

Small improvements

parent 857d1e3b
......@@ -943,6 +943,8 @@ bool uploadFile(char fileName[50]) {
g_fLogUpload.println("Upload failed");
}
}
g_WifiClient.stop();
g_fLogUpload.flush();
......@@ -1702,7 +1704,7 @@ void handleRecordingTesting() {
static long lLastRecordingTrigger = 0;
static long lRecordingStart = 0;
if ((lLastRecordingTrigger == 0) || (millis() >= (lLastRecordingTrigger + (3 * g_lRecordTurnOffDelay)))) {
if ((lLastRecordingTrigger == 0) || (millis() >= (lLastRecordingTrigger + (60000 + g_lRecordTurnOffDelay)))) {
lLastRecordingTrigger = millis();
lRecordingStart = millis();
getAviFileName(g_aviFileName);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment