Allow disabling subband seletion

This commit is contained in:
Manuel Bleichenbacher
2021-07-27 22:08:00 +02:00
parent ba908c0b93
commit 7fa43dbbdb
6 changed files with 8 additions and 6 deletions

View File

@ -203,7 +203,7 @@ public:
*
* If not set, it defaults to sub-band 2 as defined by TTN.
*
* @param band band (between 1 and 8)
* @param band band (0 for all bands, or value between 1 and 8)
*/
void setSubband(int band) { ttn_set_subband(band); }

View File

@ -198,7 +198,7 @@ void ttn_configure_pins(spi_host_device_t spi_host, uint8_t nss, uint8_t rxtx, u
*
* If not set, it defaults to sub-band 2 as defined by TTN.
*
* @param band band (between 1 and 8)
* @param band band (0 for all bands, or value between 1 and 8)
*/
void ttn_set_subband(int band);