Closed msplr closed 2 years ago
Includes fix from PR #300 which I tested on hardware - it works great 🥳
This also fixes an issue where one sensor gets stuck if the other sensor is addressed on the same SPI bus. So before each read both sensors are reset.
A useful print_stack_info() routine was added to properly choose the thread stack size. It seems like we actually have plenty of RAM:
print_stack_info()
stackptr stacktop stklimit free name 200006AC 200004C8 20000444 132 main 20000BEC 20000BEC 20000BE4 8 idle 20001064 20001064 20000FEC 120 heartbeat 20001394 20001304 200011EC 280 servo 20001B3C 200018E8 2000160C 732 uavcan
Includes fix from PR #300 which I tested on hardware - it works great 🥳
This also fixes an issue where one sensor gets stuck if the other sensor is addressed on the same SPI bus. So before each read both sensors are reset.
A useful
print_stack_info()
routine was added to properly choose the thread stack size. It seems like we actually have plenty of RAM: