PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

unit-tests_Settings.h 503B

il y a 4 ans
1234567891011121314151617181920
  1. #pragma once
  2. #include "unit-tests.h"
  3. #include <src/midi_Settings.h>
  4. BEGIN_UNIT_TESTS_NAMESPACE
  5. template<bool RunningStatus, bool OneByteParsing>
  6. struct VariableSettings : public midi::DefaultSettings
  7. {
  8. static const bool UseRunningStatus = RunningStatus;
  9. static const bool Use1ByteParsing = OneByteParsing;
  10. };
  11. template<bool A, bool B>
  12. const bool VariableSettings<A, B>::UseRunningStatus;
  13. template<bool A, bool B>
  14. const bool VariableSettings<A, B>::Use1ByteParsing;
  15. END_UNIT_TESTS_NAMESPACE