#ifndef AH_SETTINGSWRAPPER_HPP #error "Do not include this file directly, use the wrapper!" #endif /** * @file * @brief All user settings and debugging options can be changed here. * @ingroup AH_Settings */ #include #include #include #include #include BEGIN_AH_NAMESPACE #ifndef DEBUG_OUT #define DEBUG_OUT #endif #define FATAL_ERRORS constexpr unsigned long defaultBaudRate = 115200; constexpr uint8_t ADC_BITS = ADC_RESOLUTION; constexpr uint8_t ANALOG_FILTER_SHIFT_FACTOR = 2; using ANALOG_FILTER_TYPE = uint16_t; constexpr unsigned long BUTTON_DEBOUNCE_TIME = 25; constexpr unsigned long SELECT_LINE_DELAY = 10; constexpr unsigned long LONG_PRESS_DELAY = 450; constexpr unsigned long LONG_PRESS_REPEAT_DELAY = 200; constexpr unsigned long FILTERED_INPUT_UPDATE_INTERVAL = 1000; constexpr static Frequency SPI_MAX_SPEED = 8_MHz; END_AH_NAMESPACE