X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fscpi-pps%2Fprofiles.c;h=925b6db84599666261b326f4802c9458c9826b05;hb=584560f142e1b17b9f4ef9069bd3724f2f77e750;hp=34f4a6a374a306e1408758469a6abe0bd001fafa;hpb=a4e47454580b83972f052b5ace8e687d54d9425c;p=libsigrok.git diff --git a/src/hardware/scpi-pps/profiles.c b/src/hardware/scpi-pps/profiles.c index 34f4a6a3..925b6db8 100644 --- a/src/hardware/scpi-pps/profiles.c +++ b/src/hardware/scpi-pps/profiles.c @@ -39,16 +39,16 @@ const char *get_vendor(const char *raw_vendor) return raw_vendor; } -static const int32_t devopts_none[] = { }; +static const uint32_t devopts_none[] = { }; /* Rigol DP800 series */ -static const int32_t rigol_dp800_devopts[] = { +static const uint32_t rigol_dp800_devopts[] = { SR_CONF_POWER_SUPPLY, SR_CONF_CONTINUOUS, SR_CONF_OVER_TEMPERATURE_PROTECTION, }; -static const int32_t rigol_dp800_devopts_cg[] = { +static const uint32_t rigol_dp800_devopts_cg[] = { SR_CONF_OUTPUT_REGULATION, SR_CONF_OVER_VOLTAGE_PROTECTION_ENABLED, SR_CONF_OVER_VOLTAGE_PROTECTION_ACTIVE, @@ -108,7 +108,7 @@ struct scpi_command rigol_dp800_cmd[] = { }; /* HP 663xx series */ -static const int32_t hp_6632b_devopts[] = { +static const uint32_t hp_6632b_devopts[] = { SR_CONF_POWER_SUPPLY, SR_CONF_CONTINUOUS, SR_CONF_OUTPUT_ENABLED,