mirror of
https://github.com/manuelbl/ttn-esp32.git
synced 2025-07-27 03:42:51 +02:00
Changed return states, modified comments
1. Returned values now track the LMIC library 2. Adjusted comments for new return values, added notes on return behavior (returns are driven by the rising/falling logic edge)
This commit is contained in:
@ -264,11 +264,11 @@ void TheThingsNetwork::setRSSICal(int8_t rssiCal)
|
||||
ttn_hal.rssiCal = rssiCal;
|
||||
}
|
||||
|
||||
bool TheThingsNetwork::disableChannel(uint8_t channel){ return !LMIC_disableChannel( channel ); }
|
||||
bool TheThingsNetwork::enableSubBand(uint8_t band){ return !LMIC_enableSubBand( band ); }
|
||||
bool TheThingsNetwork::enableChannel(uint8_t channel){ return !LMIC_enableChannel( channel ); }
|
||||
bool TheThingsNetwork::disableSubBand(uint8_t band){ return !LMIC_disableSubBand( band ); }
|
||||
bool TheThingsNetwork::selectSubBand(uint8_t band){ return !LMIC_selectSubBand( band ); }
|
||||
bool TheThingsNetwork::disableChannel(uint8_t channel){ return LMIC_disableChannel( channel ); }
|
||||
bool TheThingsNetwork::enableSubBand(uint8_t band){ return LMIC_enableSubBand( band ); }
|
||||
bool TheThingsNetwork::enableChannel(uint8_t channel){ return LMIC_enableChannel( channel ); }
|
||||
bool TheThingsNetwork::disableSubBand(uint8_t band){ return LMIC_disableSubBand( band ); }
|
||||
bool TheThingsNetwork::selectSubBand(uint8_t band){ return LMIC_selectSubBand( band ); }
|
||||
|
||||
|
||||
// --- Callbacks ---
|
||||
|
Reference in New Issue
Block a user