Explorar o código

ftp: disable for service firmware

Sergey Alirzaev %!s(int64=4) %!d(string=hai) anos
pai
achega
e376f362bd
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      config/board_bt6711.h

+ 3 - 1
config/board_bt6711.h

@@ -69,7 +69,9 @@ WDG_PIN(X)
 #define WHITELIST_ENABLE            //Белый список
 #define TELNET_ENABLE               //Telnet сервер
 #define UPS_ENABLE                  //UPS
-#define FTP_ENABLE
+#ifndef BT6702_SERVICE // no web server in the service fw
+#define FTP_ENABLE                  //FTP boot loader
+#endif // BT6702_SERVICE
 #define SYSLOG_ENABLE
 //#define DEBUG_FREERTOS            //Мониторинг FreeRtos