mirror of
https://github.com/ivabus/speakersafetyd
synced 2024-11-10 02:15:16 +03:00
blackbox: Fix metadata dump iteration
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
1773c6425b
commit
38bc94fa77
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue