Skip to content

Commit eb83b0f

Browse files
SamuelYvonskotopes
andauthored
(Typo) Conrol=>Control (#1266)
* Fix typo (Conrol=>Control) Co-authored-by: あく <[email protected]>
1 parent ca5c0d2 commit eb83b0f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

applications/gpio/gpio_custom_event.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
typedef enum {
44
GpioStartEventOtgOff = 0,
55
GpioStartEventOtgOn,
6-
GpioStartEventManualConrol,
6+
GpioStartEventManualControl,
77
GpioStartEventUsbUart,
88

99
GpioCustomEventErrorBack,

applications/gpio/scenes/gpio_scene_start.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ static void gpio_scene_start_var_list_enter_callback(void* context, uint32_t ind
2323
furi_assert(context);
2424
GpioApp* app = context;
2525
if(index == GpioItemTest) {
26-
view_dispatcher_send_custom_event(app->view_dispatcher, GpioStartEventManualConrol);
26+
view_dispatcher_send_custom_event(app->view_dispatcher, GpioStartEventManualControl);
2727
} else if(index == GpioItemUsbUart) {
2828
view_dispatcher_send_custom_event(app->view_dispatcher, GpioStartEventUsbUart);
2929
}
@@ -82,7 +82,7 @@ bool gpio_scene_start_on_event(void* context, SceneManagerEvent event) {
8282
furi_hal_power_enable_otg();
8383
} else if(event.event == GpioStartEventOtgOff) {
8484
furi_hal_power_disable_otg();
85-
} else if(event.event == GpioStartEventManualConrol) {
85+
} else if(event.event == GpioStartEventManualControl) {
8686
scene_manager_set_scene_state(app->scene_manager, GpioSceneStart, GpioItemTest);
8787
scene_manager_next_scene(app->scene_manager, GpioSceneTest);
8888
} else if(event.event == GpioStartEventUsbUart) {

0 commit comments

Comments
 (0)