Skip to content

Commit

Permalink
rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
ligenxxxx committed Nov 22, 2023
1 parent 728b1bc commit 5031425
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ uint8_t camera_status_update(uint8_t op) {
if (op == BTN_RIGHT) {
camera_profile_eep = camera_profile_menu;

if (RF_BW_will_check()) {
if (RF_BW_to_be_changed()) {
camera_menu_show_repower();
camMenuStatus = CAM_STATUS_REPOWER;
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/hardware.c
Original file line number Diff line number Diff line change
Expand Up @@ -1488,7 +1488,7 @@ void LED_Task() {
}
}

uint8_t RF_BW_will_check(void) {
uint8_t RF_BW_to_be_changed(void) {
uint8_t ret = 0;
if (camera_type == CAMERA_TYPE_RUNCAM_NANO_90 && camera_setting_reg_menu[11] == 2)
RF_BW = BW_17M;
Expand Down
2 changes: 1 addition & 1 deletion src/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ void Flicker_LED(uint8_t n);
void LED_Flip();
void LED_Task();

uint8_t RF_BW_will_check(void);
uint8_t RF_BW_to_be_changed(void);
void uart_baudrate_detect(void);
uint8_t temperature_level(void);
void vtx_paralized(void);
Expand Down

0 comments on commit 5031425

Please sign in to comment.