```
refactor(device): 重构角度传感器模块并优化ADC电压计算 - 将 tle5012b 角度传感器相关文件重命名为 ang_sensor,统一接口命名 - 修正母线电压采样计算公式,增加 VCC_FACTOR 校正系数 - 移除 main.cpp 中重复和未使用的头文件引用 - 删除对旧角度传感器初始化函数的调用,改用新接口读取角度 ```
This commit is contained in:
@@ -14,8 +14,8 @@ project:
|
||||
files:
|
||||
- file: device/Can.cpp
|
||||
- file: device/Can.h
|
||||
- file: device/tle5012b.cpp
|
||||
- file: device/tle5012b.h
|
||||
- file: device/ang_sensor.cpp
|
||||
- file: device/ang_sensor.h
|
||||
- file: device/ADC.cpp
|
||||
- file: device/adc.h
|
||||
- file: device/Timer.cpp
|
||||
|
||||
Reference in New Issue
Block a user