eloquentarduino / EloquentSurveillance

GNU General Public License v3.0
40 stars 10 forks source link

Bugs (typo) in src/motion.h #12

Open pklosko opened 1 year ago

pklosko commented 1 year ago

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; ^

pklosko commented 1 year ago

name=EloquentSurveillance version=1.0.15

duncanmwanik commented 1 year ago

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

marketviable commented 1 year ago

Fix available #14