emdashes begone (#10847)

This commit is contained in:
Tom
2026-07-01 19:01:27 -05:00
committed by GitHub
co-authored by GitHub
parent dee94e0758
commit 3becaf2d95
276 changed files with 1795 additions and 1793 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ _(none)_
- Meshtastic firmware is aware of the gain of the E22-900M30S module, so the Meshtastic clients' Tx power setting reflects the actual output power, i.e. setting 30 dBm in the Meshtastic app programs the E22 module to correctly output 30 dBm, setting 24 dBm will output 24 dBm, etc.
- **Adequate 5V Power Supply to the E22 Module**
- Have a bypass capacitor from its 5V supply to ground; 100 µF works well
- Voltage must be between 5V5.5V, lower supply voltage results in less output power; for example, with a fully charged LiPo at 4.2V, Tx power appears to max out around 26-27 dBm
- Voltage must be between 5V-5.5V, lower supply voltage results in less output power; for example, with a fully charged LiPo at 4.2V, Tx power appears to max out around 26-27 dBm
### Additional Reading
@@ -82,12 +82,12 @@ extern "C" {
#define PIN_WIRE_SDA (32 + 3)
#define PIN_WIRE_SCL (0 + 10)
#define PIN_SENSOR_EN (32 + 6) // Active LOW controls IMU and compass VDD
#define PIN_SENSOR_EN (32 + 6) // Active LOW - controls IMU and compass VDD
#define PIN_SENSOR_EN_ACTIVE LOW
// ICM42607P interrupt pins populated on PCB, not yet used in firmware
// #define ICM_42607P_INT_PIN (32 + 1) // INT1 P1.01
// #define ICM_42607P_INT2_PIN (32 + 7) // INT2 P1.07
// ICM42607P interrupt pins - populated on PCB, not yet used in firmware
// #define ICM_42607P_INT_PIN (32 + 1) // INT1 - P1.01
// #define ICM_42607P_INT2_PIN (32 + 7) // INT2 - P1.07
// LoRa (SX1262)
@@ -104,12 +104,12 @@ extern "C" {
#define SPI_INTERFACES_COUNT 2
// SPI0 LoRa
// SPI0 - LoRa
#define PIN_SPI_MISO (0 + 3)
#define PIN_SPI_MOSI (32 + 14)
#define PIN_SPI_SCK (32 + 13)
// SPI1 Display (ST7735, write-only)
// SPI1 - Display (ST7735, write-only)
#define PIN_SPI1_MISO ST7735_MISO
#define PIN_SPI1_MOSI ST7735_SDA
#define PIN_SPI1_SCK ST7735_SCK
@@ -155,7 +155,7 @@ extern "C" {
// Power / USB
#define NRF_APM // USB VBUS detection via nrfx_power_usbstatus_get() no dedicated charging IC on this board
#define NRF_APM // USB VBUS detection via nrfx_power_usbstatus_get() - no dedicated charging IC on this board
#define HAS_RTC 0 // No external RTC fitted
#ifdef __cplusplus
@@ -31,10 +31,7 @@ const uint32_t g_ADigitalPinMap[] = {
// P1
32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47};
void initVariant()
{
}
void initVariant() {}
void variant_shutdown()
{
@@ -39,8 +39,8 @@ extern "C" {
#define NUM_ANALOG_INPUTS (1)
#define NUM_ANALOG_OUTPUTS (0)
#define PIN_LED1 (32 + 15) // green
#define LED_BLUE PIN_LED1 // fake for bluefruit library
#define PIN_LED1 (32 + 15) // green
#define LED_BLUE PIN_LED1 // fake for bluefruit library
#define LED_GREEN PIN_LED1
#define LED_STATE_ON 0 // State when LED is lit
@@ -78,10 +78,10 @@ No longer populated on PCB
#define SX126X_DIO3_TCXO_VOLTAGE 1.8
#define USE_KCT8103L_PA_ONLY
#define LORA_KCT8103L_EN (0 + 15) // CSD - KCT8103L chip enable (HIGH=on)
#define LORA_KCT8103L_TX_RX (0 + 16) // TX or bypass control (HIGH=TX, LOW=RX)
#define LORA_PA_POWER LORA_KCT8103L_EN
#define RF_PA_DETECT_PIN (0 + 13) // HIGH=high-power PA, LOW=low-power
#define LORA_KCT8103L_EN (0 + 15) // CSD - KCT8103L chip enable (HIGH=on)
#define LORA_KCT8103L_TX_RX (0 + 16) // TX or bypass control (HIGH=TX, LOW=RX)
#define LORA_PA_POWER LORA_KCT8103L_EN
#define RF_PA_DETECT_PIN (0 + 13) // HIGH=high-power PA, LOW=low-power
#define RF_PA_HIGH_POWER_VALUE HIGH
/*
@@ -105,10 +105,10 @@ No longer populated on PCB
#define PIN_GPS_EN (0 + 7) // P0.07, VGNSS_Ctrl
#define GPS_EN_ACTIVE LOW
#define PERIPHERAL_WARMUP_MS 1000 // Make sure GNSS power is stable before continuing
#define PIN_GPS_STANDBY (32 + 2) // P1.02, WAKE_UP. Low allows sleep, high forces wake.
#define PIN_GPS_PPS (32 + 4) // P1.04, 1PPS
#define GPS_RX_PIN (32 + 5) // P1.05, MCU RX connected to GPS TXD.
#define GPS_TX_PIN (32 + 7) // P1.07, MCU TX connected to GPS RXD.
#define PIN_GPS_STANDBY (32 + 2) // P1.02, WAKE_UP. Low allows sleep, high forces wake.
#define PIN_GPS_PPS (32 + 4) // P1.04, 1PPS
#define GPS_RX_PIN (32 + 5) // P1.05, MCU RX connected to GPS TXD.
#define GPS_TX_PIN (32 + 7) // P1.07, MCU TX connected to GPS RXD.
#define GPS_THREAD_INTERVAL 50
@@ -123,9 +123,9 @@ No longer populated on PCB
#define SERIAL_PRINT_PORT 0
#define ADC_CTRL (0 + 21) // P0.21, ADC_Ctrl
#define ADC_CTRL (0 + 21) // P0.21, ADC_Ctrl
#define ADC_CTRL_ENABLED HIGH
#define BATTERY_PIN (0 + 4) // P0.04, ADC_IN
#define BATTERY_PIN (0 + 4) // P0.04, ADC_IN
#define ADC_RESOLUTION 14
#define BATTERY_SENSE_RESOLUTION_BITS 12
+1 -1
View File
@@ -45,7 +45,7 @@ void earlyInitVariant()
{
// 3.3V rail: toggle RT9080_EN HIGH → LOW → HIGH with 100 ms dwell so the
// LDO enters enable from a known state. The single-shot HIGH in main.cpp
// is not enough on this hardware if the chip was in a half-enabled
// is not enough on this hardware - if the chip was in a half-enabled
// state from a previous reset, the rail brown-outs once LoRa TX fires.
pinMode(PIN_POWER_EN, OUTPUT);
digitalWrite(PIN_POWER_EN, HIGH);
+2 -2
View File
@@ -37,7 +37,7 @@ extern "C" {
#define WS2812_DATA_3 (0 + 28) // P0.28 - BLE pairing (blue)
// Wire each WS2812 to a status role. Colour defaults are scaled to 25%
// brightness (0x40) the bare-die WS2812s on this board are very bright at
// brightness (0x40) - the bare-die WS2812s on this board are very bright at
// full intensity in a close-range enclosure.
#define NEOPIXEL_STATUS_POWER_PIN WS2812_DATA_1
#define NEOPIXEL_STATUS_NOTIFICATION_PIN WS2812_DATA_2
@@ -115,7 +115,7 @@ static const uint8_t A0 = PIN_A0;
// * relying on SSD1306Wire's built-in horizontal auto-centering
// ((128 - width) / 2 = 28), so no horizontal shim is needed;
// * calling SSD1306Wire::setYOffset(3) in Screen.cpp when
// OLED_Y_OFFSET_PAGES is defined this shifts every PAGEADDR write by
// OLED_Y_OFFSET_PAGES is defined - this shifts every PAGEADDR write by
// three pages (24 rows) so data lands on the visible rows.
// ───────────────────────────────────────────────────────────────────────────
#define HAS_SCREEN 1
+2 -2
View File
@@ -125,8 +125,8 @@ static const uint8_t SCL = PIN_WIRE_SCL;
// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
#define GPS_UBLOX
#define HAS_GPS 1
#define GPS_RX_PIN D9 // P1.12 MCU RX, wired to GPS module TX
#define GPS_TX_PIN D10 // P1.11 MCU TX, wired to GPS module RX
#define GPS_RX_PIN D9 // P1.12 - MCU RX, wired to GPS module TX
#define GPS_TX_PIN D10 // P1.11 - MCU TX, wired to GPS module RX
#define PIN_GPS_EN D11 // P1.10
#define GPS_EN_ACTIVE LOW
#define GPS_BAUDRATE 38400