доработки всякие
This commit is contained in:
@@ -104,6 +104,12 @@ constexpr uint16_t RMT_MAX_RECEIVE_SYMBOLS = 512;
|
||||
constexpr uint32_t RMT_TARGET_CHUNK_US = 5000;
|
||||
constexpr uint8_t RMT_QUEUE_BLOCKS = 8;
|
||||
constexpr uint16_t PERIOD_BATCH_SIZE = 128;
|
||||
// Frequency and duty are validated only by their averages over this many
|
||||
// complete periods. Individual tick variation is retained for diagnostics but
|
||||
// is not itself a test failure.
|
||||
constexpr uint16_t MEASUREMENT_AVERAGING_PERIODS = 100;
|
||||
static_assert(MEASUREMENT_AVERAGING_PERIODS > 0,
|
||||
"Averaging window must contain at least one period");
|
||||
constexpr uint8_t MEASUREMENT_PROGRESS_STEPS = 10;
|
||||
constexpr uint32_t OLED_PROGRESS_UPDATE_MS = 15;
|
||||
|
||||
@@ -149,6 +155,6 @@ constexpr uint32_t TEST_FREQUENCIES_HZ[] = {
|
||||
};
|
||||
constexpr float ACCURACY_OPTIONS_PCT[] = {1.0f, 2.0f, 5.0f, 10.0f};
|
||||
constexpr uint32_t TEST_TIME_OPTIONS_MS[] = {100, 250, 500, 1000, 2000, 5000};
|
||||
constexpr uint8_t DUTY_OPTIONS_PCT[] = {10, 25, 50, 75, 90};
|
||||
constexpr uint8_t TEST_DUTY_PCT = 50;
|
||||
|
||||
template <typename T, size_t N> constexpr size_t countOf(const T (&)[N]) { return N; }
|
||||
|
||||
Reference in New Issue
Block a user