Keep extracted command fixtures independent of regulator storage

This commit is contained in:
mikecarper committed 2026-10-18 22:01:46 -07:00
1 parent a886f618f1
commit 3f062740eb
3 files changed
+17 -2

No files matched your search

+1
View File
@@ -6,6 +6,7 @@
#include <cassert>
#include <cstddef>
#include <cstdint>
#include "regulator_cli_stub.h"
// These narrower dispatch fixtures retain the complete production fleet branch
// but have no channel peripheral. The separate companion fleet suite compiles
+10
View File
@@ -0,0 +1,10 @@
#pragma once
#include <cstddef>
// These dispatch fixtures isolate another command family from the regulator
// subsystem. Its real settings, reset and persistence paths have dedicated
// executable tests in test_regulator_settings.py; an unrelated command falls
// through without changing the reply or requiring a board/filesystem adapter.
namespace mesh { namespace power {
inline bool handleRegulatorCommand(const char*, char*, size_t) { return false; }
}}