blackbox: Fix metadata dump iteration

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2023-12-07 17:56:27 +09:00
parent 1773c6425b
commit 38bc94fa77

View file

@ -97,7 +97,7 @@ impl Blackbox {
};
let mut speakers = json::JsonValue::new_array();
for group in self.blocks[0].state.iter() {
for group in block.state.iter() {
for speaker in group.iter() {
let _ = speakers.push(object! {
t_coil: speaker.t_coil,