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]>
  • Loading branch information
nunojsa committed Feb 5, 2024
1 parent 5fc10f1 commit 607060b
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 @@ -1076,6 +1076,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 607060b

Please sign in to comment.