kopia lustrzana https://github.com/mikaelnousiainen/RS41ng
Exclude Si4032 TX modes that are not enabled to save space in generated firmware binary file
rodzic
1018997954
commit
82a181c520
10
src/radio.c
10
src/radio.c
|
@ -75,6 +75,7 @@ radio_transmit_entry radio_transmit_schedule[] = {
|
||||||
.fsk_encoder_api = &mfsk_fsk_encoder_api,
|
.fsk_encoder_api = &mfsk_fsk_encoder_api,
|
||||||
},
|
},
|
||||||
#else
|
#else
|
||||||
|
#if RADIO_SI4032_TX_PIP
|
||||||
{
|
{
|
||||||
.enabled = RADIO_SI4032_TX_PIP,
|
.enabled = RADIO_SI4032_TX_PIP,
|
||||||
.radio_type = RADIO_TYPE_SI4032,
|
.radio_type = RADIO_TYPE_SI4032,
|
||||||
|
@ -88,6 +89,8 @@ radio_transmit_entry radio_transmit_schedule[] = {
|
||||||
.payload_encoder = &radio_cw_payload_encoder,
|
.payload_encoder = &radio_cw_payload_encoder,
|
||||||
.fsk_encoder_api = &morse_fsk_encoder_api,
|
.fsk_encoder_api = &morse_fsk_encoder_api,
|
||||||
},
|
},
|
||||||
|
#endif
|
||||||
|
#if RADIO_SI4032_TX_CW
|
||||||
{
|
{
|
||||||
.enabled = RADIO_SI4032_TX_CW,
|
.enabled = RADIO_SI4032_TX_CW,
|
||||||
.radio_type = RADIO_TYPE_SI4032,
|
.radio_type = RADIO_TYPE_SI4032,
|
||||||
|
@ -101,6 +104,8 @@ radio_transmit_entry radio_transmit_schedule[] = {
|
||||||
.payload_encoder = &radio_cw_payload_encoder,
|
.payload_encoder = &radio_cw_payload_encoder,
|
||||||
.fsk_encoder_api = &morse_fsk_encoder_api,
|
.fsk_encoder_api = &morse_fsk_encoder_api,
|
||||||
},
|
},
|
||||||
|
#endif
|
||||||
|
#if RADIO_SI4032_TX_APRS
|
||||||
{
|
{
|
||||||
.enabled = RADIO_SI4032_TX_APRS,
|
.enabled = RADIO_SI4032_TX_APRS,
|
||||||
.radio_type = RADIO_TYPE_SI4032,
|
.radio_type = RADIO_TYPE_SI4032,
|
||||||
|
@ -118,6 +123,8 @@ radio_transmit_entry radio_transmit_schedule[] = {
|
||||||
#endif
|
#endif
|
||||||
.fsk_encoder_api = &bell_fsk_encoder_api,
|
.fsk_encoder_api = &bell_fsk_encoder_api,
|
||||||
},
|
},
|
||||||
|
#endif
|
||||||
|
#if RADIO_SI4032_TX_HORUS_V1
|
||||||
{
|
{
|
||||||
.enabled = RADIO_SI4032_TX_HORUS_V1,
|
.enabled = RADIO_SI4032_TX_HORUS_V1,
|
||||||
.radio_type = RADIO_TYPE_SI4032,
|
.radio_type = RADIO_TYPE_SI4032,
|
||||||
|
@ -131,6 +138,8 @@ radio_transmit_entry radio_transmit_schedule[] = {
|
||||||
.payload_encoder = &radio_horus_v1_payload_encoder,
|
.payload_encoder = &radio_horus_v1_payload_encoder,
|
||||||
.fsk_encoder_api = &mfsk_fsk_encoder_api,
|
.fsk_encoder_api = &mfsk_fsk_encoder_api,
|
||||||
},
|
},
|
||||||
|
#endif
|
||||||
|
#if RADIO_SI4032_TX_HORUS_V2
|
||||||
{
|
{
|
||||||
.enabled = RADIO_SI4032_TX_HORUS_V2,
|
.enabled = RADIO_SI4032_TX_HORUS_V2,
|
||||||
.radio_type = RADIO_TYPE_SI4032,
|
.radio_type = RADIO_TYPE_SI4032,
|
||||||
|
@ -144,6 +153,7 @@ radio_transmit_entry radio_transmit_schedule[] = {
|
||||||
.payload_encoder = &radio_horus_v2_payload_encoder,
|
.payload_encoder = &radio_horus_v2_payload_encoder,
|
||||||
.fsk_encoder_api = &mfsk_fsk_encoder_api,
|
.fsk_encoder_api = &mfsk_fsk_encoder_api,
|
||||||
},
|
},
|
||||||
|
#endif
|
||||||
#if RADIO_SI5351_ENABLE
|
#if RADIO_SI5351_ENABLE
|
||||||
#if RADIO_SI5351_TX_PIP
|
#if RADIO_SI5351_TX_PIP
|
||||||
{
|
{
|
||||||
|
|
Ładowanie…
Reference in New Issue