mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-06-07 02:11:38 +00:00
add missing radio_init() for rak11310
This commit is contained in:
@@ -12,6 +12,12 @@ VolatileRTCClock fallback_clock;
|
||||
AutoDiscoverRTCClock rtc_clock(fallback_clock);
|
||||
SensorManager sensors;
|
||||
|
||||
bool radio_init() {
|
||||
rtc_clock.begin(Wire);
|
||||
|
||||
return radio.std_init(&SPI1);
|
||||
}
|
||||
|
||||
void radio_set_tx_power(int8_t dbm) {
|
||||
radio.setOutputPower(dbm);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user