We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我在修复软件包ina226时候发现他在使用设备框架注册的类型是RT_SENSOR_CLASS_POWER,但是Sensor types中并没有这个类型,是不是在什么版本抛弃了这个定义。
ina226
RT_SENSOR_CLASS_POWER
Sensor types
Sensor unit types
RT_SENSOR_UNIT_MA
或者修改软件包ina226的设备类型为RT_SENSOR_CLASS_NONE
RT_SENSOR_CLASS_NONE
The text was updated successfully, but these errors were encountered:
先确定他用的是哪个sensor版本,sensor.h或者sensor_v2.h中都找下看看有没有这个定义
Sorry, something went wrong.
v2的命名应该是 RT_SENSOR_TYPE*来命名的,所以使用的应该是sensor.h
可以仿照着其他类型,先设计一个power类型的sensor种类,然后提交一份草稿我再帮你审一下
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: