-
Notifications
You must be signed in to change notification settings - Fork 16
Description
I am using this sensor on the Arduino Due together with a relatively complex logger. Without this sensor, everything works fine. Adding this sensor and trying to recover full profiles, I run in weird bugs.
I really cannot figure out what happens and why my program crashes. I wonder if there is a really nasty memory corruption happening at some point. That would explain why I have seemingly incomprehensible bugs.
Do you think / have you experienced / have you any idea of anything that could produce nasty memory bugs in this code? I have identified at least one source of such bugs (that is actually referenced in issue #21 ), and fixed it on my fork that I use now for running the sensor (see https://github.com/jerabaul29/ping-arduino/tree/fix/mem_alloc ).
Any other code that can be used to interface to this sensor? This does not seem to be maintained (for example, the bad malloc is really bad and has not been fixed in a long time).