Skip to content

Commit

Permalink
Fixed the build with missing change.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dual Tachyon authored and Dual Tachyon committed Aug 15, 2023
1 parent 7b55fe3 commit 39a38d8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include <stdint.h>

enum {
enum FUNCTION_Type_t {
FUNCTION_0 = 0U,
FUNCTION_TRANSMIT = 1U,
FUNCTION_2 = 2U,
Expand All @@ -28,10 +28,12 @@ enum {
FUNCTION_POWER_SAVE = 5U,
};

extern uint8_t gCurrentFunction;
typedef enum FUNCTION_Type_t FUNCTION_Type_t;

extern FUNCTION_Type_t gCurrentFunction;

void FUNCTION_Init(void);
void FUNCTION_Select(uint8_t Function);
void FUNCTION_Select(FUNCTION_Type_t Function);

#endif

0 comments on commit 39a38d8

Please sign in to comment.