funny enough if I try to build for that board I get more drastic errors due to lack of support for constexpr
(my combination of the Arduino IDE and that board builds with g++ 4.8 which does not enable -std=c++11
by default.
I think a better fix to the one you made would be
diff --git a/Trill.h b/Trill.h
index 9bbd801..7cc71a4 100644
--- a/Trill.h
+++ b/Trill.h
@@ -300,7 +300,7 @@ private:
{
public:
typedef uint8_t BYTE;
- WORD* CSD_waSnsDiff;
+ WORD const * CSD_waSnsDiff;
WORD wMinimumCentroidSize = 0;
BYTE SLIDER_BITS = 7;
WORD wAdjacentCentroidNoiseThreshold = 400; // Trough between peaks needed to identify two centroids
could you try this instead of yours and verify it works?