mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-03 19:12:00 +10:00
test: use C linkage for DS18B20 entry points
This commit is contained in:
@@ -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() {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user