diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index e930f2e..59aef4a 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -7,11 +7,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/setup-python@v1 + - uses: actions/setup-python@v4 with: python-version: '3.x' - - uses: actions/checkout@v2 - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + - uses: actions/checkout@v3 with: repository: adafruit/ci-arduino path: ci diff --git a/examples/thermal_cam_interpolate/interpolation.cpp b/examples/thermal_cam_interpolate/interpolation.cpp index 8ada5ec..99ae3c3 100644 --- a/examples/thermal_cam_interpolate/interpolation.cpp +++ b/examples/thermal_cam_interpolate/interpolation.cpp @@ -112,7 +112,6 @@ void get_adjacents_2d(float *src, float *dest, uint8_t rows, uint8_t cols, int8_t x, int8_t y) { // Serial.print("("); Serial.print(x); Serial.print(", "); Serial.print(y); // Serial.println(")"); - float arr[4]; for (int8_t delta_y = -1; delta_y < 3; delta_y++) { // -1, 0, 1, 2 float *row = dest + 4 * (delta_y + 1); // index into each chunk of 4 for (int8_t delta_x = -1; delta_x < 3; delta_x++) { // -1, 0, 1, 2 diff --git a/examples/thermal_cam_interpolate/thermal_cam_interpolate.ino b/examples/thermal_cam_interpolate/thermal_cam_interpolate.ino index 89ccf32..d625aea 100644 --- a/examples/thermal_cam_interpolate/thermal_cam_interpolate.ino +++ b/examples/thermal_cam_interpolate/thermal_cam_interpolate.ino @@ -176,8 +176,7 @@ void drawpixels(float *p, uint8_t rows, uint8_t cols, uint8_t boxWidth, uint8_t uint8_t colorIndex = map(colorTemp, MINTEMP, MAXTEMP, 0, 255); colorIndex = (uint8_t)constrain((int16_t)colorIndex, (int16_t)0, (int16_t)255); //draw the pixels! - uint16_t color; - color = val * 2; + //uint16_t color = val * 2; tft.fillRect(40+boxWidth * x, boxHeight * y, boxWidth, boxHeight, camColors[colorIndex]); if (showVal) {