Skip to content

Commit

Permalink
Optimize the current meter scale(589) and offset(346) (#336)
Browse files Browse the repository at this point in the history
Co-authored-by: 杨晨yc <[email protected]>
  • Loading branch information
lida2003 and YangChen1234 authored Feb 23, 2024
1 parent 40bb9c1 commit 5ee9260
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configs/AOCODARCF405_AIO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@
//TODO #define MOTOR_PWM_PROTOCOL DSHOT600
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
#define DEFAULT_CURRENT_METER_SCALE 500
#define DEFAULT_CURRENT_METER_SCALE 589
#define DEFAULT_CURRENT_METER_OFFSET 346
#define BEEPER_INVERTED
#define SYSTEM_HSE_MHZ 8
#define MAX7456_SPI_INSTANCE SPI2
Expand Down

0 comments on commit 5ee9260

Please sign in to comment.