🚑️ Init FastIO before anything else (#22508)

This commit is contained in:
Tanguy Pruvot
2021-08-09 04:37:27 +02:00
committed by GitHub
parent 76c10b3e02
commit ae846c2cb2
6 changed files with 10 additions and 14 deletions

View File

@@ -63,8 +63,6 @@ TERN_(POSTMORTEM_DEBUGGING, extern void install_min_serial());
// HAL initialization task
void HAL_init() {
FastIO_init();
// Ensure F_CPU is a constant expression.
// If the compiler breaks here, it means that delay code that should compute at compile time will not work.
// So better safe than sorry here.