Skip to content

Commit

Permalink
plugins: adrv9002: make sure to update device widgets
Browse files Browse the repository at this point in the history
The device widgets were not being updated when pressing the reload
button or when a new profile is loaded.

Signed-off-by: Nuno Sa <[email protected]>
(cherry picked from commit 607060b)
  • Loading branch information
nunojsa authored and SRaus committed Feb 27, 2024
1 parent 0b0d7ae commit 605495d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/adrv9002.c
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,7 @@ static void update_all(struct plugin_private *priv)
adrv9002_update_tx_widgets(priv, i);
}

iio_update_widgets_block_signals_by_data(priv->device_w, priv->num_widgets);
adrv9002_profile_read(priv);
update_label(&priv->temperature);
update_dac_manager(priv);
Expand Down

0 comments on commit 605495d

Please sign in to comment.