|
|
@ -21,6 +21,7 @@ namespace Heck { |
|
|
|
// =============================================================================================
|
|
|
|
ld::DaisySeed hw{}; |
|
|
|
ld::Switch but_rec{}; |
|
|
|
ld::Switch but_clear{}; |
|
|
|
|
|
|
|
static ld::MidiUartHandler midi{}; |
|
|
|
static ld::FIFO<ld::MidiEvent, 128> event_log{}; |
|
|
@ -201,6 +202,7 @@ namespace Heck { |
|
|
|
hw.StartLog(Constants::Developer::LOG_BLOCKS_BOOT); |
|
|
|
|
|
|
|
but_rec.Init(hw.GetPin(Constants::Hardware::PIN_BUTTON_RECORD), 0); |
|
|
|
but_clear.Init(hw.GetPin(Constants::Hardware::PIN_BUTTON_CLEAR), 0); |
|
|
|
|
|
|
|
hw.PrintLine("Setting Blocksize: %i", Constants::BUFFERSIZE); |
|
|
|
hw.SetAudioBlockSize(Constants::BUFFERSIZE); |
|
|
|