add headerguards

This commit is contained in:
Max Nowka
2021-08-22 00:16:42 +02:00
parent b8742f9021
commit 545e7f380d

View File

@@ -1,5 +1,12 @@
#ifndef _IO_HELPER_
#define _IO_HELPER_
#include <stdint.h>
extern volatile uint8_t outStates[4]; extern volatile uint8_t outStates[4];
extern volatile uint8_t inStates[4]; extern volatile uint8_t inStates[4];
extern volatile uint8_t ioHelperDebounceTable[32];
void ioHelperSetOuts(void); void ioHelperSetOuts(void);
void ioHelperReadPins(void); void ioHelperReadPins(void);
void ioHelperIoConf(void); void ioHelperIoConf(void);
@@ -17,3 +24,5 @@ void ioHelperDebounce(void);
//Pin | Bit in inStates //Pin | Bit in inStates
#define BitPinC1 0 #define BitPinC1 0
#define BitPinC5 1 #define BitPinC5 1
#endif