Skip to content

Commit

Permalink
Added missing ElectricCharge Quantity
Browse files Browse the repository at this point in the history
  • Loading branch information
pilatomic committed Feb 26, 2023
1 parent c4ae31f commit 908032a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/data/datautil.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ map<const sigrok::Quantity *, Quantity> sr_quantity_quantity_map = {
{ sigrok::Quantity::MASS, Quantity::Mass },
{ sigrok::Quantity::HARMONIC_RATIO, Quantity::HarmonicRatio },
{ sigrok::Quantity::ENERGY, Quantity::Energy },
{ sigrok::Quantity::ELECTRIC_CHARGE, Quantity::ElectricCharge },
};

map<Quantity, const sigrok::Quantity *> quantity_sr_quantity_map = {
Expand Down Expand Up @@ -462,6 +463,8 @@ map<Quantity, const sigrok::Quantity *> quantity_sr_quantity_map = {
{ Quantity::Mass, sigrok::Quantity::MASS },
{ Quantity::HarmonicRatio, sigrok::Quantity::HARMONIC_RATIO },
{ Quantity::Energy, sigrok::Quantity::ENERGY },
{ Quantity::ElectricCharge, sigrok::Quantity::ELECTRIC_CHARGE },

};

map<const sigrok::QuantityFlag *, QuantityFlag> sr_quantity_flag_quantity_flag_map = {
Expand Down

0 comments on commit 908032a

Please sign in to comment.