Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
GelidusResearch committed Nov 23, 2024
1 parent e5c7474 commit 2a72326
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gdo.c
Original file line number Diff line number Diff line change
Expand Up @@ -1674,10 +1674,10 @@ static void gdo_main_task(void* arg) {
cb_event = GDO_CB_EVENT_PAIRED_DEVICES;
break;
case GDO_EVENT_DOOR_OPEN_DURATION_MEASUREMENT:
cb_event = GDO_CB_EVENT_OPEN_DURATION_MEASURMENT;
cb_event = GDO_CB_EVENT_OPEN_DURATION_MEASUREMENT;
break;
case GDO_EVENT_DOOR_CLOSE_DURATION_MEASUREMENT:
cb_event = GDO_CB_EVENT_CLOSE_DURATION_MEASURMENT;
cb_event = GDO_CB_EVENT_CLOSE_DURATION_MEASUREMENT;
break;
default:
ESP_LOGD(TAG, "Unhandled gdo event: %d", event.gdo_event);
Expand Down
4 changes: 2 additions & 2 deletions include/gdo.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ typedef enum {
GDO_CB_EVENT_CANCEL_TTC,
GDO_CB_EVENT_UPDATE_TTC,
GDO_CB_EVENT_PAIRED_DEVICES,
GDO_CB_EVENT_OPEN_DURATION_MEASURMENT,
GDO_CB_EVENT_CLOSE_DURATION_MEASURMENT,
GDO_CB_EVENT_OPEN_DURATION_MEASUREMENT,
GDO_CB_EVENT_CLOSE_DURATION_MEASUREMENT,
GDO_CB_EVENT_MAX,
} gdo_cb_event_t;

Expand Down

0 comments on commit 2a72326

Please sign in to comment.