Disassociate the ADC overload detection from the DCD LED.

This commit is contained in:
Jonathan Naylor
2016-06-06 18:04:03 +01:00
parent d4e56965da
commit b8457aed4c
6 changed files with 42 additions and 9 deletions
+2
View File
@@ -36,6 +36,7 @@ public:
uint16_t getSpace() const;
void setDecode(bool dcd);
void setADCDetection(bool detect);
void setMode();
void interrupt();
@@ -82,6 +83,7 @@ private:
bool m_ledValue;
bool m_dcd;
bool m_detect;
uint16_t m_overflow;
uint16_t m_overcount;