arachnid-labs-re-load-pro: Fix for get voltage and current while in acquisition.

[ gsi: moved intruction order to unify with other cond signalling code paths ]
This commit is contained in:
Frank Stettner 2021-01-04 14:36:18 +01:00 committed by Gerhard Sittig
parent f93bf8ba02
commit 8fb9afcacd
1 changed files with 1 additions and 0 deletions

View File

@ -336,6 +336,7 @@ static void handle_packet(const struct sr_dev_inst *sdi)
devc->voltage = g_ascii_strtod(tokens[2], NULL) / 1000;
devc->current = g_ascii_strtod(tokens[1], NULL) / 1000;
g_strfreev(tokens);
g_cond_signal(&devc->voltage_cond);
/* Begin frame. */
std_session_send_df_frame_begin(sdi);