]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/rdtech-dps/protocol.h
rdtech-dps: Send META package when states have changed.
[libsigrok.git] / src / hardware / rdtech-dps / protocol.h
index 266ec582580c5854da94fce1a33914ea8fa6c553..d6619e5301321d109b68e3daa5156697a134e3d4 100644 (file)
@@ -44,6 +44,10 @@ struct dev_context {
        GMutex rw_mutex;
        double current_multiplier;
        double voltage_multiplier;
+       gboolean actual_ovp_state;
+       gboolean actual_ocp_state;
+       uint16_t actual_regulation_state;
+       uint16_t actual_output_state;
 };
 
 enum rdtech_dps_register {