File tree Expand file tree Collapse file tree 7 files changed +238
-167
lines changed Expand file tree Collapse file tree 7 files changed +238
-167
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ void AIRCOPY_SendMessage(void)
5757
5858 BK4819_SendFSKData (g_FSK_Buffer );
5959 BK4819_SetupPowerAmplifier (0 , 0 );
60- BK4819_ToggleGpioOut (BK4819_GPIO1_PIN29 , false);
60+ BK4819_ToggleGpioOut (BK4819_GPIO1_PIN29_PA_ENABLE , false);
6161
6262 gAircopySendCountdown = 30 ;
6363}
Original file line number Diff line number Diff line change @@ -1090,7 +1090,7 @@ void APP_Update(void)
10901090
10911091 BK4819_DisableVox ();
10921092 BK4819_Sleep ();
1093- BK4819_ToggleGpioOut (BK4819_GPIO0_PIN28 , false);
1093+ BK4819_ToggleGpioOut (BK4819_GPIO0_PIN28_RX_ENABLE , false);
10941094
10951095 // Authentic device checked removed
10961096
@@ -1338,7 +1338,7 @@ void APP_TimeSlice10ms(void)
13381338
13391339 RADIO_EnableCxCSS ();
13401340 BK4819_SetupPowerAmplifier (0 , 0 );
1341- BK4819_ToggleGpioOut (BK4819_GPIO1_PIN29 , false);
1341+ BK4819_ToggleGpioOut (BK4819_GPIO1_PIN29_PA_ENABLE , false);
13421342 BK4819_Enable_AfDac_DiscMode_TxDsp ();
13431343 BK4819_ToggleGpioOut (BK4819_GPIO5_PIN1_RED , false);
13441344
Original file line number Diff line number Diff line change @@ -95,11 +95,11 @@ enum BK4819_REGISTER_t {
9595typedef enum BK4819_REGISTER_t BK4819_REGISTER_t ;
9696
9797enum BK4819_GPIO_PIN_t {
98- BK4819_GPIO0_PIN28 = 0 ,
99- BK4819_GPIO1_PIN29 = 1 ,
100- BK4819_GPIO3_PIN31 = 3 ,
101- BK4819_GPIO4_PIN32 = 4 ,
102- BK4819_GPIO5_PIN1_RED = 5 ,
98+ BK4819_GPIO0_PIN28_RX_ENABLE = 0 ,
99+ BK4819_GPIO1_PIN29_PA_ENABLE = 1 ,
100+ BK4819_GPIO3_PIN31_UHF_LNA = 3 ,
101+ BK4819_GPIO4_PIN32_VHF_LNA = 4 ,
102+ BK4819_GPIO5_PIN1_RED = 5 ,
103103 BK4819_GPIO6_PIN2_GREEN = 6 ,
104104};
105105
You can’t perform that action at this time.
0 commit comments