Started writing nice library.

This commit is contained in:
2025-08-15 10:01:50 +02:00
parent bf3f00cfb0
commit 8d96817029
5 changed files with 561 additions and 156 deletions

View File

@@ -189,12 +189,12 @@ pub async fn start_impedance_handler(context: SpawnCtx, header: VarHeader, rqst:
// phase: impedance.phase,
// };
let data = IMPEDANCE_CHANNEL.receive().await;
let msg = IMPEDANCE_CHANNEL.receive().await;
let msg = Impedance {
magnitude: data,
phase: data,
};
// let msg = Impedance {
// magnitude: data,
// phase: data,
// };
if sender
.publish::<ImpedanceTopic>(seq.into(), &msg)