Skip to content

Commit 4f612d6

Browse files
committed
bash?
1 parent 37e015c commit 4f612d6

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ jobs:
101101
102102
- name: Package firmware
103103
run: |
104-
if [[ -f "/github/home/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/bin/bootloader_dio_40m.bin" ]]; then
104+
if [ -f "/github/home/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/bin/bootloader_dio_40m.bin" ]; then
105105
cp /github/home/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/bin/bootloader_dio_40m.bin 0x01000.bin
106-
elif [[ -f "/github/home/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader_dio_40m.bin" ]]; then
106+
elif [ -f "/github/home/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader_dio_40m.bin" ]; then
107107
cp /github/home/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader_dio_40m.bin 0x01000.bin
108108
else
109109
echo could not find bootloader_dio_40m.bin, new location?

src/displays.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ void SSD1306DisplayDevice::showValues(
9898
const int bufSize = 64;
9999
char buffer[bufSize];
100100
// #ifdef NERD_SENSOR_DISTANCE
101-
snprintf(buffer, bufSize - 1, "%03d|%02d|%04.1f", sensor1.rawDistance,
102-
lastMeasurements, gps.getSpeed()); // sensor2.rawDistance);
101+
snprintf(buffer, bufSize - 1, "%03d|%02d|%03d", sensor1.rawDistance,
102+
lastMeasurements, sensor2.rawDistance);
103103
// #endif
104104
#ifdef NERD_HEAP
105105
snprintf(buffer, bufSize - 1, "%03d|%02d|%uk", sensor1.rawDistance,

0 commit comments

Comments
 (0)