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:
parent
f93bf8ba02
commit
8fb9afcacd
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue