feat(tdeck): enable GPS support and configure pins

Bu işleme şunda yer alıyor:
Christophe Vanlancker
2025-12-05 20:44:56 +01:00
ebeveyn 6db57677f9
işleme d834d66803
3 değiştirilmiş dosya ile 25 ekleme ve 2 silme
+3 -1
Dosyayı Görüntüle
@@ -14,7 +14,8 @@ WRAPPER_CLASS radio_driver(radio, board);
ESP32RTCClock fallback_clock;
AutoDiscoverRTCClock rtc_clock(fallback_clock);
SensorManager sensors;
MicroNMEALocationProvider gps(Serial1, &rtc_clock);
EnvironmentSensorManager sensors(gps);
#ifdef DISPLAY_CLASS
DISPLAY_CLASS display;
@@ -24,6 +25,7 @@ SensorManager sensors;
bool radio_init() {
fallback_clock.begin();
rtc_clock.begin(Wire);
Wire.begin(18, 8);
#if defined(P_LORA_SCLK)
return radio.std_init(&spi);