Normalize line endings (CRLF to LF)
This commit is contained in:
+11
-3
@@ -9,17 +9,25 @@
|
||||
#define INTERRUPTHANDLER_H_
|
||||
|
||||
#include "Arduino.h"
|
||||
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/semphr.h"
|
||||
#include "freertos/queue.h"
|
||||
|
||||
#define ISR_TIME_US (10000uL)
|
||||
|
||||
#define MS_TO_ISR_COUNT(ms) ( ((ms)*1000uL) / ISR_TIME_US )
|
||||
|
||||
/* RF pulse event pushed from pinLevelChangeIsr to rfDecodeTask via queue */
|
||||
typedef struct {
|
||||
uint32_t dtMicros;
|
||||
bool pinValue;
|
||||
} RfEvent_t;
|
||||
|
||||
extern SemaphoreHandle_t beepSemaphore; /* given every ISR_TIME_US to wake beepTask */
|
||||
extern QueueHandle_t rfEventQueue; /* RF pulse events for rfDecodeTask */
|
||||
|
||||
void InterruptHandler_Init(void);
|
||||
void InterruptHandler_PauseReceive();
|
||||
void InterruptHandler_Stop(void);
|
||||
|
||||
|
||||
|
||||
#endif /* INTERRUPTHANDLER_H_ */
|
||||
|
||||
Reference in New Issue
Block a user