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;