//! CPU-utilization test TX hooks (`cpu-test-tx` feature).
//!
//! The CPU-utilization experiment drives the central TX loop from a schedule
//! that changes the broadcast rate and on-air payload every phase, and goes
//! silent during baseline phases. `run_esp_now_central` reads these atomics each
//! iteration so the example's schedule driver can steer the *real* library TX
//! path without re-running `node.run()` per phase. The whole module is gated so
//! production builds carry none of this.
use ;
/// Runtime broadcast rate (Hz) for the CPU-test central TX loop.
pub static TEST_TX_RATE_HZ: AtomicU32 = new;
/// Runtime on-air payload size (bytes) for the CPU-test central TX loop. The
/// `ControlPacket` frame is padded up to this length (capped at the ESP-NOW max).
pub static TEST_TX_PAYLOAD_B: AtomicU32 = new;
/// When true, the CPU-test central TX loop sends nothing (baseline phases).
pub static TEST_TX_PAUSED: AtomicBool = new;
/// Set the CPU-test central broadcast rate (Hz). See [`TEST_TX_RATE_HZ`].
/// Set the CPU-test central on-air payload size (bytes). See [`TEST_TX_PAYLOAD_B`].
/// Pause/unpause the CPU-test central TX loop (silent baseline phases).