diff --git a/test/test_rtttl_pcm/test_main.cpp b/test/test_rtttl_pcm/test_main.cpp index a578bfd3d..572f1b60b 100644 --- a/test/test_rtttl_pcm/test_main.cpp +++ b/test/test_rtttl_pcm/test_main.cpp @@ -1,3 +1,8 @@ +// Arduino.h must come first: it declares setup()/loop() with the linkage portduino's +// main.cpp expects. Without it this file's definitions get C++ mangling and the +// coverage build fails to link (RtttlPcm.h itself is deliberately Arduino-free). +#include + #include "audio/RtttlPcm.h" #include #include