Unable to compile a function template after a struct definition. The code passed compilation with multiple different versions of the compilers on Compiler Explorer, but fails in Arduino IDE. $ arduino ...
...\Documents\Arduino\libraries\MPU6050/MPU6050.h:436:7: warning: type 'struct MPU6050' violates the C++ One Definition Rule [-Wodr] class MPU6050 { ^ ...\Documents ...