From 40fa1548cd1c8e7769ddacde146734876d9fc941 Mon Sep 17 00:00:00 2001 From: Philipp Richter Date: Wed, 27 Apr 2022 23:44:09 +0200 Subject: [PATCH] Remove debug function WcApplySettings --- tasmota/xdrv_81_esp32_webcam.ino | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tasmota/xdrv_81_esp32_webcam.ino b/tasmota/xdrv_81_esp32_webcam.ino index e5a4fd514..253a22b2f 100644 --- a/tasmota/xdrv_81_esp32_webcam.ino +++ b/tasmota/xdrv_81_esp32_webcam.ino @@ -1228,12 +1228,10 @@ void WcInit(void) { #define D_CMND_WC_COLORBAR "Colorbar" #define D_CMND_WC_FEATURE "Feature" - #define D_CMND_WC_SETDEFAULTS "SetDefaults" #define D_CMND_WC_STATS "Stats" #define D_CMND_WC_INIT "Init" -#define D_CMND_WC_APPLYSETTINGS "ApplySettings" #define D_CMND_RTSP "Rtsp" const char kWCCommands[] PROGMEM = D_PRFX_WEBCAM "|" // Prefix @@ -1244,7 +1242,6 @@ const char kWCCommands[] PROGMEM = D_PRFX_WEBCAM "|" // Prefix D_CMND_WC_AGC_GAIN "|" D_CMND_WC_GAINCEILING "|" D_CMND_WC_RAW_GMA "|" D_CMND_WC_LENC "|" D_CMND_WC_WPC "|" D_CMND_WC_DCW "|" D_CMND_WC_BPC "|" D_CMND_WC_COLORBAR "|" D_CMND_WC_FEATURE "|" D_CMND_WC_SETDEFAULTS "|" D_CMND_WC_STATS "|" D_CMND_WC_INIT - "|" D_CMND_WC_APPLYSETTINGS #ifdef ENABLE_RTSPSERVER "|" D_CMND_RTSP #endif // ENABLE_RTSPSERVER @@ -1258,7 +1255,6 @@ void (* const WCCommand[])(void) PROGMEM = { &CmndWebcamGammaCorrect, &CmndWebcamLensCorrect, &CmndWebcamWPC, &CmndWebcamDCW, &CmndWebcamBPC, &CmndWebcamColorbar, &CmndWebcamFeature, &CmndWebcamSetDefaults, &CmndWebcamStats, &CmndWebcamInit - , &CmndWebcamApplySettings #ifdef ENABLE_RTSPSERVER , &CmndWebRtsp #endif // ENABLE_RTSPSERVER @@ -1503,11 +1499,6 @@ void CmndWebcamSetDefaults(void) { ResponseCmndDone(); } -void CmndWebcamApplySettings(void) { - WcApplySettings(); - ResponseCmndDone(); -} - #define D_WEBCAM_STATS_FPS "FPS" #define D_WEBCAM_STATS_CAMFAIL "CamFail" #define D_WEBCAM_STATS_JPEGFAIL "JpegFail"