fix: adapt MeshPocket V2 GPS driver
This commit is contained in:
1 parent
3633402e59
commit
9f81305068
1 file changed
+2
-1
@@ -5,7 +5,8 @@ MeshPocketV2 board;
|
|||||||
RADIO_CLASS radio = new Module(P_LORA_NSS, P_LORA_DIO_1, P_LORA_RESET, P_LORA_BUSY, SPI);
|
RADIO_CLASS radio = new Module(P_LORA_NSS, P_LORA_DIO_1, P_LORA_RESET, P_LORA_BUSY, SPI);
|
||||||
WRAPPER_CLASS radio_driver(radio, board);
|
WRAPPER_CLASS radio_driver(radio, board);
|
||||||
VolatileRTCClock rtc_clock;
|
VolatileRTCClock rtc_clock;
|
||||||
MicroNMEALocationProvider gps(Serial1, &rtc_clock);
|
NmeaGpsDriver gps_driver(Serial1);
|
||||||
|
MicroNMEALocationProvider gps(gps_driver, &rtc_clock);
|
||||||
EnvironmentSensorManager sensors(gps);
|
EnvironmentSensorManager sensors(gps);
|
||||||
DISPLAY_CLASS display(SPI1);
|
DISPLAY_CLASS display(SPI1);
|
||||||
MomentaryButton user_btn(PIN_USER_BTN, 1000, true, true);
|
MomentaryButton user_btn(PIN_USER_BTN, 1000, true, true);
|
||||||
|
|||||||
Reference in new issue
Block a user