Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Renamed dodgy name to real name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dual Tachyon authored and Dual Tachyon committed Oct 27, 2023
1 parent 41f1e84 commit 0e14ef4
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions app/action.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,9 @@

#include "driver/keyboard.h"

//static void ACTION_FlashLight(void)
void ACTION_Power(void);
//static void ACTION_Monitor(void)
void ACTION_Scan(bool bFlag);
void ACTION_Vox(void);
//static void ACTION_AlarmOr1750(bool b1750)
void ACTION_FM(void);

void ACTION_Handle(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld);
Expand Down
2 changes: 1 addition & 1 deletion app/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ void APP_Update(void)

if (gBatterySaveCountdownExpired && gCurrentFunction == FUNCTION_POWER_SAVE && gVoiceWriteIndex == 0) {
if (gRxIdleMode) {
BK4819_Conditional_RX_TurnOn_and_GPIO6_Enable();
BK4819_EnableRX();
if (gEeprom.VOX_SWITCH) {
BK4819_EnableVox(gEeprom.VOX1_THRESHOLD, gEeprom.VOX0_THRESHOLD);
}
Expand Down
2 changes: 1 addition & 1 deletion driver/bk4819.c
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ void BK4819_ExitSubAu(void)
BK4819_WriteRegister(BK4819_REG_51, 0x0000);
}

void BK4819_Conditional_RX_TurnOn_and_GPIO6_Enable(void)
void BK4819_EnableRX(void)
{
if (gRxIdleMode) {
BK4819_ToggleGpioOut(BK4819_GPIO0_PIN28_RX_ENABLE, true);
Expand Down
2 changes: 1 addition & 1 deletion driver/bk4819.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ void BK4819_PrepareTransmit(void);
void BK4819_TxOn_Beep(void);
void BK4819_ExitSubAu(void);

void BK4819_Conditional_RX_TurnOn_and_GPIO6_Enable(void);
void BK4819_EnableRX(void);

void BK4819_EnterDTMF_TX(bool bLocalLoopback);
void BK4819_ExitDTMF_TX(bool bKeep);
Expand Down
2 changes: 1 addition & 1 deletion functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void FUNCTION_Select(FUNCTION_Type_t Function)

if (bWasPowerSave) {
if (Function != FUNCTION_POWER_SAVE) {
BK4819_Conditional_RX_TurnOn_and_GPIO6_Enable();
BK4819_EnableRX();
gRxIdleMode = false;
UI_DisplayStatus();
}
Expand Down

0 comments on commit 0e14ef4

Please sign in to comment.