diff options
author | あく <alleteam@gmail.com> | 2021-02-26 13:40:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-26 13:40:54 +0300 |
commit | e39e1c3dced1e8f4331015dd67d91b711e1cb98c (patch) | |
tree | 484b30a3bfed0adefe10a823b36c3c66e8fb965f /applications/input | |
parent | 14c5307b982baa4ed23f5529e424b3453d4b4cac (diff) |
Input: properly cast timer arg pointer to InputPinState (#354)
* Input: properly cast timer arg pointer to InputPinState
* update codeowners
Diffstat (limited to 'applications/input')
-rw-r--r-- | applications/input/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/input/input.c b/applications/input/input.c index 975eb7a1..ca90ef7a 100644 --- a/applications/input/input.c +++ b/applications/input/input.c @@ -7,9 +7,9 @@ static Input* input = NULL; void input_press_timer_callback(void* arg) { - InputPin* input_pin = arg; + InputPinState* input_pin = arg; InputEvent event; - event.key = input_pin->key; + event.key = input_pin->pin->key; event.type = InputTypeLong; notify_pubsub(&input->event_pubsub, &event); } |