mirror of
https://github.com/apache/nuttx.git
synced 2026-10-07 18:55:16 +08:00
Cover the remaining electrical quantities so that they do not have to fork into driver private namespaces later. Add SENSOR_TYPE_RESISTANCE (Ohm), SENSOR_TYPE_CONDUCTIVITY (S/m), SENSOR_TYPE_ENERGY (J) and SENSOR_TYPE_CHARGE (C), the last two matching the native unit of the accumulator registers in power and energy monitors. Signed-off-by: likun17 <likun17@xiaomi.com>