From 73b09a09318b9e04bda8bff30dac77d97d37a8dc Mon Sep 17 00:00:00 2001 From: Louis Rubet Date: Fri, 4 Oct 2024 14:48:47 +0200 Subject: [PATCH 1/2] Remove pin value change on arbitrary condition. --- cores/arduino/wiring_analog.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cores/arduino/wiring_analog.c b/cores/arduino/wiring_analog.c index 2476e0105..fca177e7a 100644 --- a/cores/arduino/wiring_analog.c +++ b/cores/arduino/wiring_analog.c @@ -129,10 +129,6 @@ int analogRead(pin_size_t pin) { uint32_t valueRead = 0; - if (pin < A0) { - pin += A0; - } - pinPeripheral(pin, PIO_ANALOG); // Disable DAC, if analogWrite() was used previously to enable the DAC From 44e4043d8a6ff3bec8a883c29b30f4d6e5627a01 Mon Sep 17 00:00:00 2001 From: Louis Rubet Date: Fri, 4 Oct 2024 14:58:28 +0200 Subject: [PATCH 2/2] upload-artifact@v3 --- .github/workflows/compile-examples.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index b2d769725..0afc6e782 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -264,7 +264,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Save memory usage change report as artifact - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: sketches-reports path: sketches-reports