mirror of
https://github.com/ivabus/speakersafetyd
synced 2024-11-25 09:45:06 +03:00
blackbox: Fix metadata dump iteration
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
1773c6425b
commit
38bc94fa77
1 changed files with 1 additions and 1 deletions
|
@ -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