Remove sync word handling from KissModem.

This commit is contained in:
ViezeVingertjes 2026-02-02 18:05:26 +01:00
parent 240b5ea1e3
commit f0ba14ff75
3 changed files with 1 additions and 41 deletions

View file

@ -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();