From ce136e03b6f55c3a7605e821bf8e002556753007 Mon Sep 17 00:00:00 2001 From: miracade <68456713+miracade@users.noreply.github.com> Date: Thu, 20 Jul 2023 00:02:37 -0700 Subject: [PATCH] Updated link in sleep.c --- ndless-sdk/libndls/sleep.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ndless-sdk/libndls/sleep.c b/ndless-sdk/libndls/sleep.c index 39e4e64e..495f334b 100644 --- a/ndless-sdk/libndls/sleep.c +++ b/ndless-sdk/libndls/sleep.c @@ -17,6 +17,7 @@ * the Initial Developer. All Rights Reserved. * * Contributor(s): + * - miracade ****************************************************************************/ #include @@ -37,7 +38,9 @@ unsigned msleep(unsigned millisec) { *divider = orig_divider; *timer = 32; } else { - // see http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0271d/CHDFDDCF.html + // The timer used is the SP804. + // Documentation: https://developer.arm.com/documentation/ddi0271/d/ + // The base address of this timer is 0x900D0000. volatile unsigned *load = (unsigned*)0x900D0000; volatile unsigned *control = (unsigned*)0x900D0008; volatile unsigned *int_clear = (unsigned*)0x900D000C;