EloquentSurveillance
EloquentSurveillance copied to clipboard
Bugs (typo) in src/motion.h
libraries\eloquentsurveillance\src\motion.h:443:104: error: 'uitn16_t' has not been declared void forEachBlock(Callback callback, Reducer& reducer, uint16_t x, uint16_t y, uint16_t width, uitn16_t height, uint8_t size) { ^
libraries\eloquentsurveillance\src\motion.h: In member function 'void EloquentSurveillance::Motion::locate2()': libraries\eloquentsurveillance\src\motion.h:412:61: error: expected primary-expression before ';' token for (uint16_t y = _location.y > blockSize / 2 ? ; y < _location.y + blockSize; y += blockSize / 2) { ^ libraries\eloquentsurveillance\src\motion.h:412:61: error: expected ':' before ';' token libraries\eloquentsurveillance\src\motion.h:412:61: error: expected primary-expression before ';' token libraries\eloquentsurveillance\src\motion.h:418:47: error: 'W' was not declared in this scope uint32_t offset = j * W; ^
name=EloquentSurveillance version=1.0.15
I have the same errors and typos. I've got the main branch. It's almost like someone was causing sabotage to the library...haha
Fix available #14