|
@@ -6,7 +6,7 @@ void startSystick (void) {
|
|
|
SYST_CSR = SYST_CSR_CLKSOURCE | SYST_CSR_ENABLE ;
|
|
|
}
|
|
|
|
|
|
-oid busyWaitDuring (const uint32_t inDelayMS) {
|
|
|
+void busyWaitDuring (const uint32_t inDelayMS) {
|
|
|
const uint32_t COUNTFLAG_MASK = 1 << 16 ;
|
|
|
for (uint32_t i = 0; i < inDelayMS; i++) {
|
|
|
while ((SYST_CSR & COUNTFLAG_MASK) == 0) {}
|