浏览代码

Use sidoh/RF24 until PR is merged; run build web script

Chris Mullins 8 年之前
父节点
当前提交
8e52b1af96
共有 3 个文件被更改,包括 2 次插入7 次删除
  1. 0 2
      lib/WebServer/MiLightHttpServer.cpp
  2. 0 3
      lib/WebServer/MiLightHttpServer.h
  3. 2 2
      platformio.ini

+ 0 - 2
lib/WebServer/MiLightHttpServer.cpp

@@ -82,8 +82,6 @@ void MiLightHttpServer::handleGetLatestRelease() {
     "/releases/latest"
   );
 
-  Serial.println(path);
-
   // This is an ugly hack, but probably not worth optimizing. The nice way
   // to do this would be to extract the content len from GitHub's response
   // and stream the body to the server directly. But this would require parsing

+ 0 - 3
lib/WebServer/MiLightHttpServer.h

@@ -9,9 +9,6 @@
 
 typedef std::function<void(void)> SettingsSavedHandler;
 
-const char DEFAULT_INDEX_PAGE[] PROGMEM
-  = "Web app not installed. Click <a href=\"/download_update/web\">here</a> to attempt to download it from GitHub.";
-
 const char TEXT_PLAIN[] PROGMEM = "text/plain";
 const char APPLICATION_JSON[] = "application/json";
 

+ 2 - 2
platformio.ini

@@ -13,14 +13,14 @@ board_f_cpu = 160000000L
 lib_deps_builtin =
   SPI
 lib_deps_external =
-  RF24
+  sidoh/RF24
   WiFiManager
   ArduinoJson
   PubSubClient
   https://github.com/ratkins/RGBConverter
 build_flags = !python .get_version.py -DMQTT_MAX_PACKET_SIZE=200 -Idist
 extra_script =
-  ; .build_web.py
+  .build_web.py
 # -D MQTT_DEBUG
 # -D MILIGHT_UDP_DEBUG
 # -D DEBUG_PRINTF