libsigrok.h: Add SR_MQ_HARMONIC_RATIO.

This commit is contained in:
Aurelien Jacobs 2017-01-16 11:44:22 +01:00
parent 35bb2fcef9
commit 841aadc95b
2 changed files with 3 additions and 0 deletions

View File

@ -231,6 +231,8 @@ enum sr_mq {
SR_MQ_APPARENT_POWER,
/** Mass */
SR_MQ_MASS,
/** Harmonic ratio */
SR_MQ_HARMONIC_RATIO,
/* Update sr_key_info_mq[] (hwdriver.c) upon changes! */
};

View File

@ -247,6 +247,7 @@ static struct sr_key_info sr_key_info_mq[] = {
{SR_MQ_POWER_FACTOR, 0, "power_factor", "Power factor", NULL},
{SR_MQ_APPARENT_POWER, 0, "apparent_power", "Apparent power", NULL},
{SR_MQ_MASS, 0, "mass", "Mass", NULL},
{SR_MQ_HARMONIC_RATIO, 0, "harmonic_ratio", "Harmonic ratio", NULL},
ALL_ZERO
};