From 424c7a2717fb6b2a847cec5c0060e3236f25e97f Mon Sep 17 00:00:00 2001 From: Fabien Poussin Date: Wed, 14 Mar 2018 20:15:13 +0100 Subject: Fixed most testhal examples for STM32, updated configs using script. Fixed deprecated MS2ST calls. --- testhal/common/onewire/testhal_onewire.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testhal/common') diff --git a/testhal/common/onewire/testhal_onewire.c b/testhal/common/onewire/testhal_onewire.c index 93dcc31..2ba0e68 100644 --- a/testhal/common/onewire/testhal_onewire.c +++ b/testhal/common/onewire/testhal_onewire.c @@ -191,7 +191,7 @@ void onewireTest(void) { testbuf[1] = ONEWIRE_CMD_CONVERT_TEMP; #if ONEWIRE_USE_STRONG_PULLUP - onewireWrite(&OWD1, testbuf, 2, MS2ST(750)); + onewireWrite(&OWD1, testbuf, 2, TIME_MS2I(750)); #else onewireWrite(&OWD1, testbuf, 2, 0); /* poll bus waiting ready signal from all connected devices */ -- cgit v1.2.3