Rising Edge Digital

TL;DR

The article discusses a frustrating debugging experience the author had while working with C++ and the `auto` keyword. While revisiting a driver for a sensor, he encountered incorrect readings that turned out to be caused by a simple mistake: he forgot to include an ampersand (`&`) when declaring an `auto` variable. This oversight resulted in a local copy of a calibration data structure being created, which was then destroyed at the end of the function, leaving the actual calibration data empty.