Attribute Macro anchor::klipper_constant
#[klipper_constant]
Expand description
Expose a constant
Rust constants can be exposed to the remote end by marking them as #[klipper_constant]
. The
exposed constant must be either a string or an integer number.
#[klipper_constant]
const CLOCK_FREQ: u32 = 100_000_000;
#[klipper_constant]
const MCU: &str = "beacon";