test: use C linkage for DS18B20 entry points

This commit is contained in:
2026-08-26 21:45:10 +10:00
parent a475aedff0
commit 92a7146370
+2
View File
@@ -37,6 +37,7 @@ void test_recognizes_resolution_configuration()
TEST_ASSERT_FALSE(ds18b20::hasResolution(scratchpad, 12));
}
extern "C" {
void setup()
{
UNITY_BEGIN();
@@ -48,3 +49,4 @@ void setup()
}
void loop() {}
}