Set default opmode to M17 in cps_getDefaultChannel() when compiling for Module17

This commit is contained in:
Silvano Seva 2023-06-15 08:21:38 +02:00
parent f3f36fc2ae
commit e5b3ea1bed
1 changed files with 5 additions and 0 deletions

View File

@ -24,7 +24,12 @@
channel_t cps_getDefaultChannel()
{
channel_t channel;
#ifdef PLATFORM_MOD17
channel.mode = OPMODE_M17;
#else
channel.mode = OPMODE_FM;
#endif
channel.bandwidth = BW_25;
channel.power = 100; // 1W, P = 10dBm + n*0.2dBm, we store n