From ec19c8d6340d27ff692e9d2e9c3ce3fd686772bc Mon Sep 17 00:00:00 2001 From: Tristan Rowley Date: Wed, 27 Mar 2024 11:22:21 +0000 Subject: [PATCH] Update README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2fb6478..cfadb9e 100755 --- a/README.md +++ b/README.md @@ -32,9 +32,7 @@ In order for generic mode to work, you need to add a call to your `loop()` funct void uClockCheckTime(uint32_t micros_time); void loop() { - #ifdef USE_UCLOCK_GENERIC - uClockCheckTime(micros()); - #endif + uClockCheckTime(micros()); // do anything else you need to do inside loop()... } @@ -43,7 +41,7 @@ void loop() { ## uClock v2.0 Breaking Changes -If you are coming from uClock version < 2.0 versions pay attention to the breaking changes so you can update your code to reflect the new API interface: +If you are coming from uClock version < 2.0 versions, pay attention to the breaking changes so you can update your code to reflect the new API interface: ### setCallback function name changes