Merge pull request #77 from ZevEisenberg/master

Fix typos and add .gitignore
pull/87/head
Miroslav Pivovarsky 2024-11-18 20:58:55 +01:00 committed by GitHub
commit 08a3f076ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 79 additions and 8 deletions

71
.gitignore vendored Normal file
View File

@ -0,0 +1,71 @@
# Created by https://www.toptal.com/developers/gitignore/api/c++,macos
# Edit at https://www.toptal.com/developers/gitignore?templates=c++,macos
### C++ ###
# Prerequisites
*.d
# Compiled Object files
*.slo
*.lo
*.o
*.obj
# Precompiled Headers
*.gch
*.pch
# Compiled Dynamic libraries
*.so
*.dylib
*.dll
# Fortran module files
*.mod
*.smod
# Compiled Static libraries
*.lai
*.la
*.a
*.lib
# Executables
*.exe
*.out
*.app
### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
### macOS Patch ###
# iCloud generated files
*.icloud
# End of https://www.toptal.com/developers/gitignore/api/c++,macos

View File

@ -15,7 +15,7 @@
#define MSG_REBOOT_MCU "Reboot process started, wait several seconds for mcu to boot up. You can close this window now"
#define MSG_SAVE_OK_REBOOT "Save OK. Please reboot MCU" ///< WEB app msg save OK
#define MSG_SAVE_OK_WIFI "Save OK. Connecting to Wi-Fi. Please wait several second"
#define MSG_SAVE_OK_WIFI "Save OK. Connecting to Wi-Fi. Please wait several seconds"
#define MSG_SAVE_OK "Save cfg OK" ///< WEB app msg save OK
#define MSG_SAVE_NOTOK "Save cfg NOT OK!" ///< WEB app msg save NOT OK
#define MSG_SCANNING "Scanning Wi-Fi networks. Wait 8s..." ///< WEB app msg Scanning wifi
@ -1342,7 +1342,7 @@ function updateProgress() {
function checkUpdate() {
var xmlHttp = new XMLHttpRequest();
alert("Connecting to server... Please wait several second");
alert("Connecting to server... Please wait several seconds");
xmlHttp.open("GET", "/check_web_ota_update", false);
xmlHttp.send(null);
alert(xmlHttp.responseText);

View File

@ -443,7 +443,7 @@ void Server_InitWebServer_Actions() {
request->send(200, "text/plain", "Send Photo");
});
/* route for change LED status */
/* route to toggle the LED on and off. If the LED is on, this route turns it off, and vice-versa. */
server.on("/action_led", HTTP_GET, [](AsyncWebServerRequest* request) {
SystemLog.AddEvent(LogLevel_Verbose, F("WEB server: /action_led Change LED status"));
if (Server_CheckBasicAuth(request) == false)
@ -455,7 +455,7 @@ void Server_InitWebServer_Actions() {
request->send(200, "text/plain", "Change LED status");
});
/* route for change LED status */
/* route to set the LED on or off manually */
server.on("/light", HTTP_GET, [](AsyncWebServerRequest* request) {
SystemLog.AddEvent(LogLevel_Verbose, F("WEB server: /light set LED status"));
if (Server_CheckBasicAuth(request) == false)
@ -511,7 +511,7 @@ void Server_InitWebServer_Actions() {
ESP.restart();
});
/* route for change LED status */
/* route for erasing the SD card */
server.on("/action_sderase", HTTP_GET, [](AsyncWebServerRequest* request) {
SystemLog.AddEvent(LogLevel_Verbose, F("WEB server: /action_sderase remove files from SD card"));
if (Server_CheckBasicAuth(request) == false)

View File

@ -110,7 +110,7 @@
#define TIMELAPS_PHOTO_SUFFIX ".jpg" ///< photo file type for timelaps
/* ---------------- FACTORY CFG ----------------*/
#define FACTORY_CFG_PHOTO_REFRESH_INTERVAL 30 ///< in the second
#define FACTORY_CFG_PHOTO_REFRESH_INTERVAL 30 ///< in seconds
#define FACTORY_CFG_PHOTO_QUALITY 10 ///< 10-63, lower is better
#define FACTORY_CFG_FRAME_SIZE 0 ///< 0 - FRAMESIZE_QVGA, ..., 6 - FRAMESIZE_UXGA. Look function Cfg_TransformFrameSizeDataType
#define FACTORY_CFG_BRIGHTNESS 0 ///< from -2 to 2
@ -311,4 +311,4 @@
#endif
/* EOF */
/* EOF */

View File

@ -434,7 +434,7 @@ function updateProgress() {
function checkUpdate() {
var xmlHttp = new XMLHttpRequest();
alert("Connecting to server... Please wait several second");
alert("Connecting to server... Please wait several seconds");
xmlHttp.open("GET", "/check_web_ota_update", false);
xmlHttp.send(null);
alert(xmlHttp.responseText);