trunk'd
Some checks are pending
CI / setup (check) (push) Waiting to run
CI / setup (esp32) (push) Waiting to run
CI / setup (esp32c3) (push) Waiting to run
CI / setup (esp32c6) (push) Waiting to run
CI / setup (esp32s3) (push) Waiting to run
CI / setup (nrf52840) (push) Waiting to run
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / build-debian-src (push) Waiting to run
CI / package-pio-deps-native-tft (push) Waiting to run
CI / test-native (push) Waiting to run
CI / docker-debian-amd64 (push) Waiting to run
CI / docker-alpine-amd64 (push) Waiting to run
CI / docker-debian-arm64 (push) Waiting to run
CI / docker-debian-armv7 (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions

This commit is contained in:
Thomas Göttgens 2025-03-16 16:18:12 +01:00
parent 2525111c39
commit 2d565c2921
5 changed files with 14 additions and 24 deletions

View File

@ -9,14 +9,14 @@ plugins:
lint: lint:
enabled: enabled:
- prettier@3.5.3 - prettier@3.5.3
- trufflehog@3.88.16 - trufflehog@3.88.17
- yamllint@1.36.0 - yamllint@1.36.0
- bandit@1.8.3 - bandit@1.8.3
- checkov@3.2.384 - checkov@3.2.386
- terrascan@1.19.9 - terrascan@1.19.9
- trivy@0.60.0 - trivy@0.60.0
- taplo@0.9.3 - taplo@0.9.3
- ruff@0.9.10 - ruff@0.10.0
- isort@6.0.1 - isort@6.0.1
- markdownlint@0.44.0 - markdownlint@0.44.0
- oxipng@9.1.4 - oxipng@9.1.4

View File

@ -1058,7 +1058,7 @@ void CannedMessageModule::drawFrame(OLEDDisplay *display, OLEDDisplayUiState *st
} else if (cannedMessageModule->runState == CANNED_MESSAGE_RUN_STATE_FREETEXT) { } else if (cannedMessageModule->runState == CANNED_MESSAGE_RUN_STATE_FREETEXT) {
requestFocus(); // Tell Screen::setFrames to move to our module's frame requestFocus(); // Tell Screen::setFrames to move to our module's frame
#if defined(USE_EINK) && defined(USE_EINK_DYNAMICDISPLAY) #if defined(USE_EINK) && defined(USE_EINK_DYNAMICDISPLAY)
EInkDynamicDisplay* einkDisplay = static_cast<EInkDynamicDisplay*>(display); EInkDynamicDisplay *einkDisplay = static_cast<EInkDynamicDisplay *>(display);
einkDisplay->enableUnlimitedFastMode(); // Enable unlimited fast refresh while typing einkDisplay->enableUnlimitedFastMode(); // Enable unlimited fast refresh while typing
#endif #endif

View File

@ -1,8 +1,8 @@
#include "variant.h" #include "variant.h"
#include "configuration.h"
#include "nrf.h" #include "nrf.h"
#include "wiring_constants.h" #include "wiring_constants.h"
#include "wiring_digital.h" #include "wiring_digital.h"
#include "configuration.h"
#include <map> #include <map>
#include <memory> #include <memory>
#include <stddef.h> #include <stddef.h>
@ -58,8 +58,6 @@ const uint32_t g_ADigitalPinMap[] = {
31, // D32 is P0.10 (VBAT) 31, // D32 is P0.10 (VBAT)
}; };
/* /*
Copyright (c) 2014-2015 Arduino LLC. All right reserved. Copyright (c) 2014-2015 Arduino LLC. All right reserved.
Copyright (c) 2016 Sandeep Mistry All right reserved. Copyright (c) 2016 Sandeep Mistry All right reserved.
@ -80,7 +78,6 @@ const uint32_t g_ADigitalPinMap[] = {
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
void initVariant() void initVariant()
{ {
// LED1 & LED2 // LED1 & LED2

View File

@ -43,7 +43,6 @@ extern "C" {
* Buttons * Buttons
*/ */
// Digital PINs // Digital PINs
#define D0 (0ul) #define D0 (0ul)
#define D1 (1ul) #define D1 (1ul)
@ -86,7 +85,6 @@ static const uint8_t A4 = PIN_A4;
static const uint8_t A5 = PIN_A5; static const uint8_t A5 = PIN_A5;
#define ADC_RESOLUTION 12 #define ADC_RESOLUTION 12
#define PIN_SERIAL2_RX (-1) #define PIN_SERIAL2_RX (-1)
#define PIN_SERIAL2_TX (-1) #define PIN_SERIAL2_TX (-1)
@ -99,7 +97,6 @@ static const uint8_t A5 = PIN_A5;
#define PIN_SPI_MOSI (10) #define PIN_SPI_MOSI (10)
#define PIN_SPI_SCK (8) #define PIN_SPI_SCK (8)
static const uint8_t SS = D4; static const uint8_t SS = D4;
static const uint8_t MOSI = PIN_SPI_MOSI; static const uint8_t MOSI = PIN_SPI_MOSI;
static const uint8_t MISO = PIN_SPI_MISO; static const uint8_t MISO = PIN_SPI_MISO;
@ -117,7 +114,6 @@ static const uint8_t SCK = PIN_SPI_SCK;
#define SX126X_TXEN RADIOLIB_NC #define SX126X_TXEN RADIOLIB_NC
#define SX126X_RXEN D4 #define SX126X_RXEN D4
#define SX126X_DIO2_AS_RF_SWITCH // DIO2 is used to control the RF switch really necessary!!! #define SX126X_DIO2_AS_RF_SWITCH // DIO2 is used to control the RF switch really necessary!!!
#define SX126X_DIO3_TCXO_VOLTAGE 1.8 #define SX126X_DIO3_TCXO_VOLTAGE 1.8
@ -129,13 +125,12 @@ static const uint8_t SCK = PIN_SPI_SCK;
#define I2C_NO_RESCAN // I2C is a bit finicky, don't scan too much #define I2C_NO_RESCAN // I2C is a bit finicky, don't scan too much
#define WIRE_INTERFACES_COUNT 1 // 2 #define WIRE_INTERFACES_COUNT 1 // 2
#define PIN_WIRE_SDA (24) //change to use the correct pins if needed #define PIN_WIRE_SDA (24) // change to use the correct pins if needed
#define PIN_WIRE_SCL (25) //change to use the correct pins if needed #define PIN_WIRE_SCL (25) // change to use the correct pins if needed
static const uint8_t SDA = PIN_WIRE_SDA; static const uint8_t SDA = PIN_WIRE_SDA;
static const uint8_t SCL = PIN_WIRE_SCL; static const uint8_t SCL = PIN_WIRE_SCL;
// GPS L76KB // GPS L76KB
#define GPS_L76K #define GPS_L76K
#ifdef GPS_L76K #ifdef GPS_L76K
@ -149,8 +144,6 @@ static const uint8_t SCL = PIN_WIRE_SCL;
#define PIN_GPS_STANDBY D0 #define PIN_GPS_STANDBY D0
#endif #endif
// Battery // Battery
#define BAT_READ \ #define BAT_READ \