Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

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

Description

@pklosko

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions