Broken the source in to manageable chunks - 2KLOC files are not fun to debug!

Utterly failed to reduce the MARK_?? functions back down to MACROs - every time I try, the decoders start failing ...However, I have found a considerable number of bugs in the toolchain, so I'm starting to wonder if the fault is not mine.
This commit is contained in:
Bluechip
2015-06-20 04:29:28 +01:00
parent 0da14cd36b
commit 315aecdada
19 changed files with 1644 additions and 1592 deletions

View File

@@ -17,6 +17,12 @@
#ifndef IRremoteint_h
#define IRremoteint_h
#ifdef IR_GLOBAL
# define EXTERN
#else
# define EXTERN extern
#endif
#if defined(ARDUINO) && ARDUINO >= 100
#include <Arduino.h>
#else
@@ -141,7 +147,7 @@ typedef struct {
irparams_t;
// Defined in IRremote.cpp
extern volatile irparams_t irparams;
EXTERN volatile irparams_t irparams;
// IR detector output is active low
#define MARK 0