Skip to content

[Feature] Sensor types 增加 RT_SENSOR_CLASS_POWER类型 #9399

Description

@CYFS3

Describe problem solved by the proposed feature

我在修复软件包ina226时候发现他在使用设备框架注册的类型是RT_SENSOR_CLASS_POWER,但是Sensor types中并没有这个类型,是不是在什么版本抛弃了这个定义。

Describe your preferred solution

  • Sensor types中增加RT_SENSOR_CLASS_POWER
  • Sensor unit types 中添加RT_SENSOR_UNIT_MA

Describe possible alternatives

或者修改软件包ina226的设备类型为RT_SENSOR_CLASS_NONE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions