Skip to content

Commit

Permalink
bash?
Browse files Browse the repository at this point in the history
  • Loading branch information
amandel committed May 16, 2022
1 parent 37e015c commit 4f612d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ jobs:
- name: Package firmware
run: |
if [[ -f "/github/home/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/bin/bootloader_dio_40m.bin" ]]; then
if [ -f "/github/home/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/bin/bootloader_dio_40m.bin" ]; then
cp /github/home/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/bin/bootloader_dio_40m.bin 0x01000.bin
elif [[ -f "/github/home/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader_dio_40m.bin" ]]; then
elif [ -f "/github/home/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader_dio_40m.bin" ]; then
cp /github/home/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader_dio_40m.bin 0x01000.bin
else
echo could not find bootloader_dio_40m.bin, new location?
Expand Down
4 changes: 2 additions & 2 deletions src/displays.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ void SSD1306DisplayDevice::showValues(
const int bufSize = 64;
char buffer[bufSize];
// #ifdef NERD_SENSOR_DISTANCE
snprintf(buffer, bufSize - 1, "%03d|%02d|%04.1f", sensor1.rawDistance,
lastMeasurements, gps.getSpeed()); // sensor2.rawDistance);
snprintf(buffer, bufSize - 1, "%03d|%02d|%03d", sensor1.rawDistance,
lastMeasurements, sensor2.rawDistance);
// #endif
#ifdef NERD_HEAP
snprintf(buffer, bufSize - 1, "%03d|%02d|%uk", sensor1.rawDistance,
Expand Down

0 comments on commit 4f612d6

Please sign in to comment.