diff --git a/src/globals.hh b/src/globals.hh index 34723ce..2deb400 100644 --- a/src/globals.hh +++ b/src/globals.hh @@ -13,7 +13,7 @@ namespace Heck { constexpr int PIN_BUTTON_CLEAR = 27; } - + constexpr bool CPU_BOOST480MHZ = false; constexpr int AUDIO_BUFFERSIZE = 4; constexpr int AUDIO_SAMPLERATE = 48000; constexpr int TRACK_COUNT = 4; diff --git a/src/main_perkons.cc b/src/main_perkons.cc index bd1c9a6..7c485b0 100644 --- a/src/main_perkons.cc +++ b/src/main_perkons.cc @@ -60,7 +60,7 @@ namespace Heck { void init() { hw.Configure(); - hw.Init(); + hw.Init(Constants::CPU_BOOST480MHZ); hw.StartLog(Constants::Developer::LOG_BLOCKS_BOOT); but_rec.Init(hw.GetPin(Constants::Hardware::PIN_BUTTON_RECORD), 0);