Browse Source

Feature: Add CPU BOOST (480MHZ) option

untested! the thing might blow up and tear a black hole into your desktop
main
heck 9 months ago
parent
commit
f6245bf01d
  1. 2
      src/globals.hh
  2. 2
      src/main_perkons.cc

2
src/globals.hh

@ -13,7 +13,7 @@ namespace Heck {
constexpr int PIN_BUTTON_CLEAR = 27; constexpr int PIN_BUTTON_CLEAR = 27;
} }
constexpr bool CPU_BOOST480MHZ = false;
constexpr int AUDIO_BUFFERSIZE = 4; constexpr int AUDIO_BUFFERSIZE = 4;
constexpr int AUDIO_SAMPLERATE = 48000; constexpr int AUDIO_SAMPLERATE = 48000;
constexpr int TRACK_COUNT = 4; constexpr int TRACK_COUNT = 4;

2
src/main_perkons.cc

@ -60,7 +60,7 @@ namespace Heck {
void init() void init()
{ {
hw.Configure(); hw.Configure();
hw.Init(); hw.Init(Constants::CPU_BOOST480MHZ);
hw.StartLog(Constants::Developer::LOG_BLOCKS_BOOT); hw.StartLog(Constants::Developer::LOG_BLOCKS_BOOT);
but_rec.Init(hw.GetPin(Constants::Hardware::PIN_BUTTON_RECORD), 0); but_rec.Init(hw.GetPin(Constants::Hardware::PIN_BUTTON_RECORD), 0);

Loading…
Cancel
Save