Open Rob58329 opened 1 year ago
I have the same issue. I think there is a typo at line 443 and 412:
I managed to run the code by changing "uitn16_t" in line 443 to "uint16_t" and deleting the ? in line 412. Also delete the "?" at line 412.
Also I needed to change line "motion.h:418" from
"uint32_t offset = j * W;"
to
"uint32_t offset = j * (getWidth()/8);"
Thanks all of you, your corrections work. Digest of those three corrections in src/Motion.h file goes like that:
Line 412
for (uint16_t y = _location.y > blockSize / 2 ; y < _location.y + blockSize; y += blockSize / 2) {
Line 418
uint32_t offset = j * (getWidth()/8);
Line 443
void forEachBlock(Callback callback, Reducer& reducer, uint16_t x, uint16_t y, uint16_t width, uint16_t height, uint8_t size) {
File WifiHelper.h
Line 58
return String(ip[0] + '.' + ip[1] + '.' + ip[2] + '.' + ip[3])
Fix available pull request #14
Using your "github.com/eloquentarduino/EloquentSurveillance" software as at 1May23 and "github.com/espressif/arduino-esp32" as at 1May23 with the arduino-IDE, compiling the above example (or your "MotionDetectionSaveToSpiffs.ino" example) fails to compile with the error messages: