mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Remove sync word handling from KissModem.
This commit is contained in:
parent
240b5ea1e3
commit
f0ba14ff75
3 changed files with 1 additions and 41 deletions
|
|
@ -52,10 +52,6 @@ void onSetTxPower(uint8_t power) {
|
|||
radio_set_tx_power(power);
|
||||
}
|
||||
|
||||
void onSetSyncWord(uint8_t sync_word) {
|
||||
radio_set_sync_word(sync_word);
|
||||
}
|
||||
|
||||
float onGetCurrentRssi() {
|
||||
return radio_driver.getCurrentRSSI();
|
||||
}
|
||||
|
|
@ -88,7 +84,6 @@ void setup() {
|
|||
modem = new KissModem(Serial, identity, rng, radio_driver, board, sensors);
|
||||
modem->setRadioCallback(onSetRadio);
|
||||
modem->setTxPowerCallback(onSetTxPower);
|
||||
modem->setSyncWordCallback(onSetSyncWord);
|
||||
modem->setGetCurrentRssiCallback(onGetCurrentRssi);
|
||||
modem->setGetStatsCallback(onGetStats);
|
||||
modem->begin();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue