Skip to content

Commit

Permalink
Fixed typedef buf
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianPugh committed Apr 23, 2018
1 parent a6deb3b commit 667791a
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions include/easy_input.h
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
#ifndef __INCLUDE_EASY_INPUT_H__
#define __INCLUDE_EASY_INPUT_H__

typedef enum buttons{
EASY_INPUT_UP,
EASY_INPUT_DOWN,
EASY_INPUT_LEFT,
EASY_INPUT_RIGHT,
EASY_INPUT_BACK,
EASY_INPUT_ENTER,
EASY_INPUT_NUMBER_OF_BUTTON_TYPES
} buttons_t;
#include "freertos/FreeRTOS.h"
#include "freertos/queue.h"

void easy_input_queue_init(QueueHandle_t *input_queue);
void easy_input_push_button_task( void *input_queue );
typedef enum buttons{
EASY_INPUT_UP,
EASY_INPUT_DOWN,
EASY_INPUT_LEFT,
EASY_INPUT_RIGHT,
EASY_INPUT_BACK,
EASY_INPUT_ENTER,
EASY_INPUT_NUMBER_OF_BUTTON_TYPES
} buttons_t;

void easy_input_queue_init(QueueHandle_t *input_queue);
void easy_input_push_button_task( void *input_queue );

#endif

0 comments on commit 667791a

Please sign in to comment.