summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/driver/sen5x.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/driver/sen5x.h b/include/driver/sen5x.h
index 47d92a0..bc7b54b 100644
--- a/include/driver/sen5x.h
+++ b/include/driver/sen5x.h
@@ -13,6 +13,9 @@ class SEN5x {
unsigned char txbuf[2];
unsigned char rxbuf[24];
+ unsigned char crcWord(unsigned char byte1, unsigned char byte2);
+ bool crcValid(unsigned char* data, unsigned char length);
+
public:
SEN5x() {}