diff --git a/.github/workflows/pio-build.yaml b/.github/workflows/pio-build.yaml index 4131a02..e16a3b5 100644 --- a/.github/workflows/pio-build.yaml +++ b/.github/workflows/pio-build.yaml @@ -34,8 +34,7 @@ jobs: run: | python -m pip install --upgrade pip pip install --upgrade platformio - pwd - ls -al + git config --global advice.detachedHead false - name: Run PlatformIO run: pio run -e gravity-release -e gravity-perf diff --git a/script/copy_html.py b/script/copy_html.py index f5e8fb8..428074b 100644 --- a/script/copy_html.py +++ b/script/copy_html.py @@ -9,24 +9,20 @@ print( "Copy html-files from " + source + " -> " + target ) os.makedirs(os.path.dirname( target ), exist_ok=True) file = "about.min.htm" -print( "Copy file: " + source + file + "->" + target + file) +#print( "Copy file: " + source + file + "->" + target + file) shutil.copyfile( source + file, target + file ) file = "calibration.min.htm" -print( "Copy file: " + source + file + "->" + target + file) +#print( "Copy file: " + source + file + "->" + target + file) shutil.copyfile( source + file, target + file ) file = "config.min.htm" -print( "Copy file: " + source + file + "->" + target + file) +#print( "Copy file: " + source + file + "->" + target + file) shutil.copyfile( source + file, target + file ) file = "device.min.htm" -print( "Copy file: " + source + file + "->" + target + file) +#print( "Copy file: " + source + file + "->" + target + file) shutil.copyfile( source + file, target + file ) file = "index.min.htm" -print( "Copy file: " + source + file + "->" + target + file) +#print( "Copy file: " + source + file + "->" + target + file) shutil.copyfile( source + file, target + file ) file = "upload.min.htm" -print( "Copy file: " + source + file + "->" + target + file) +#print( "Copy file: " + source + file + "->" + target + file) shutil.copyfile( source + file, target + file ) - -#print( "Adding custom build step (copy ./heml/*.min.html to ./data/): ") -#print(env.Dump()) -#env.AddPreAction("buildprog", before_build) diff --git a/src/tempsensor.cpp b/src/tempsensor.cpp index 885a1ee..3614d58 100644 --- a/src/tempsensor.cpp +++ b/src/tempsensor.cpp @@ -23,7 +23,7 @@ SOFTWARE. */ #include #include -#include +#include #include #include