From 1a6279ba37678893db9f2756fceaa5c817cae888 Mon Sep 17 00:00:00 2001 From: robert-hh Date: Sat, 17 Aug 2024 17:07:44 +0200 Subject: [PATCH] samd/mphalport: Simplify mp_hal_delay_ms(). Do NOT use `mp_hal_delay_us()` for short delays. This was initially done to make short delays precise, but it does not allow for scheduling. Leave using `mp_hal_delay_us()` to user code if needed. Signed-off-by: robert-hh --- docs/samd/quickref.rst | 2 ++ ports/samd/mphalport.c | 10 +++------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/samd/quickref.rst b/docs/samd/quickref.rst index 60c57b3a47..25b5a8fc8a 100644 --- a/docs/samd/quickref.rst +++ b/docs/samd/quickref.rst @@ -65,6 +65,8 @@ Use the :mod:`time