added suggestion to overclock as a #pragma

This commit is contained in:
Jorj Bauer 2020-07-05 17:36:20 -04:00
parent 322bd9db68
commit e8b77c8aff

View File

@ -14,6 +14,10 @@
#include "teensy-prefs.h"
#include "teensy-println.h"
#if F_CPU < 240000000
#pragma AiiE warning: performance will improve if you overclock the Teensy to 240MHz (F_CPU=240MHz) or 256MHz (F_CPU=256MHz)
#endif
#define RESETPIN 39
#define BATTERYPIN 32
#define SPEAKERPIN A21