/* Information on single model */
struct korad_kdxxxxp_model {
int model_id; /**< Model info */
- char *vendor; /**< Vendor name */
- char *name; /**< Model name */
- char *id; /**< Model ID, as delivered by interface */
+ const char *vendor; /**< Vendor name */
+ const char *name; /**< Model name */
+ const char *id; /**< Model ID, as delivered by interface */
int channels; /**< Number of channels */
double voltage[3]; /**< Min, max, step */
double current[3]; /**< Min, max, step */
gboolean output_enabled; /**< Is the output enabled? */
gboolean beep_enabled; /**< Enable beeper. */
- gboolean OCP_enabled; /**< Output current protection enabled */
- gboolean OVP_enabled; /**< Output voltage protection enabled */
+ gboolean ocp_enabled; /**< Output current protection enabled. */
+ gboolean ovp_enabled; /**< Output voltage protection enabled. */
/* Temporary state across callbacks */
- int target; /**< What reply to expect */
+ int target; /**< What reply to expect. */
int program; /**< Program to store or recall. */
char reply[6];
};