diff --git a/src/main_osp.hh b/src/main_osp.hh index 5069d9f..88cef9c 100644 --- a/src/main_osp.hh +++ b/src/main_osp.hh @@ -7,8 +7,6 @@ #include "types.hh" namespace Heck { - using Samplerate = ld::SaiHandle::Config::SampleRate; - namespace Constants { namespace Hardware { constexpr int PIN_BUTTON_RECORD = 28; diff --git a/src/types.hh b/src/types.hh index b173ff1..e2974db 100644 --- a/src/types.hh +++ b/src/types.hh @@ -7,7 +7,7 @@ namespace Heck { - // Types + // fundamental types using u8 = uint8_t; using u16 = uint16_t; using u32 = uint32_t; @@ -24,6 +24,10 @@ namespace Heck { // namespace aliases namespace ld = daisy; namespace dsp = daisysp; + + // type aliases from libs + using Samplerate = ld::SaiHandle::Config::SampleRate; + } // namespace Heck