diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e819dc4..9b38fc0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,9 +5,9 @@ jobs: name: Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: '3.x' architecture: 'x64' @@ -16,7 +16,7 @@ jobs: - name: Build firmware run: platformio run - name: Archive - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: firmware.bin path: .pio/build/*/firmware.bin diff --git a/platformio.ini b/platformio.ini index f1d70d9..7183464 100644 --- a/platformio.ini +++ b/platformio.ini @@ -38,4 +38,4 @@ build_flags = lib_deps = prampec/IotWebConf @ ^3.2.1 geeksville/Micro-RTSP @ ^0.1.6 - rzeldent/micro-moustache @ ^1.0.0 \ No newline at end of file + rzeldent/micro-moustache@^1.0.1 \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index 586ea96..ed2d21f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -70,7 +70,7 @@ void handle_root() // Wifi Modes const char *wifi_modes[] = {"NULL", "STA", "AP", "STA+AP"}; - const moustache_variable_t substitutions[] = { + moustache_variable_t substitutions[] = { // Config Changed? {"ConfigChanged", String(config_changed)}, // Version / CPU @@ -128,7 +128,7 @@ void handle_restart() return; } - const moustache_variable_t substitutions[] = { + moustache_variable_t substitutions[] = { {"AppTitle", APP_TITLE}, {"AppVersion", APP_VERSION}, {"ThingName", iotWebConf.getThingName()}};