From 3d2ba72b1784aec7cb7781c2d8d6d7d208bde25d Mon Sep 17 00:00:00 2001 From: MarekZegare4 Date: Fri, 14 Aug 2026 16:19:14 +0200 Subject: [PATCH] fix(test): add missing Arduino.h include in ported companion NodePrefs test Upstream's version transitively pulls Stream in via NodePrefs.h -> ConfigSerializer.h -> Arduino.h. Our fork's companion NodePrefs.h is a plain, manually-serialized struct (no ConfigSerializer), so that chain doesn't exist here and Stream was undeclared. Include it directly, matching every other file in this codebase that needs Stream. The test body itself stays #if 0 (upstream: "cannot be set yet"), so this only fixes the build, not test coverage. --- test/test_companion_node_prefs/test_companion_node_prefs.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_companion_node_prefs/test_companion_node_prefs.cpp b/test/test_companion_node_prefs/test_companion_node_prefs.cpp index 433c9710..e252272f 100644 --- a/test/test_companion_node_prefs/test_companion_node_prefs.cpp +++ b/test/test_companion_node_prefs/test_companion_node_prefs.cpp @@ -4,6 +4,8 @@ #include #include +#include + #include "../../examples/companion_radio/NodePrefs.h" class ReplayStream : public Stream {