Browse Source

clock halved - halve blink wait count

teensy4-core
Defragster 5 years ago
parent
commit
bf3329ab08
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      teensy4/startup.c

+ 2
- 2
teensy4/startup.c View File

@@ -353,10 +353,10 @@ void HardFault_HandlerC(unsigned int *hardfault_args) {
{
GPIO2_DR_SET = (1 << 3); //digitalWrite(13, HIGH);
// digitalWrite(13, HIGH);
for (nn = 0; nn < 2000000; nn++) ;
for (nn = 0; nn < 2000000/2; nn++) ;
GPIO2_DR_CLEAR = (1 << 3); //digitalWrite(13, LOW);
// digitalWrite(13, LOW);
for (nn = 0; nn < 18000000; nn++) ;
for (nn = 0; nn < 18000000/2; nn++) ;
}
}


Loading…
Cancel
Save