mirror of https://github.com/rusefi/bldc.git
Changed macro to avoid warning, build script update
This commit is contained in:
parent
5560a62b73
commit
8f36f6c8cf
|
@ -412,6 +412,7 @@ cp $FWPATH/build/BLDC_4_ChibiOS.bin $COPYDIR/VESC_default_no_hw_limits.bin
|
|||
#################### Cheap_FOCer_2 ########################
|
||||
|
||||
COPYDIR=Cheap_FOCer_2
|
||||
mkdir -p $COPYDIR
|
||||
rm -f $COPYDIR/*
|
||||
|
||||
# default
|
||||
|
@ -424,6 +425,7 @@ cp $FWPATH/build/BLDC_4_ChibiOS.bin $COPYDIR/VESC_default.bin
|
|||
#################### Little_FOCer ########################
|
||||
|
||||
COPYDIR=Little_FOCer
|
||||
mkdir -p $COPYDIR
|
||||
rm -f $COPYDIR/*
|
||||
|
||||
# default
|
||||
|
|
|
@ -28,14 +28,10 @@
|
|||
#define HW_HAS_DRV8323S
|
||||
#define HW_HAS_3_SHUNTS
|
||||
|
||||
|
||||
|
||||
#define DRV8323S_CUSTOM_SETTINGS(); drv8323s_set_current_amp_gain(CURRENT_AMP_GAIN); \
|
||||
drv8323s_write_reg(3,0x333); \
|
||||
drv8323s_write_reg(4,0x733); \
|
||||
//drv8323s_write_reg(3,0x323); \
|
||||
drv8323s_write_reg(4,0x723); \
|
||||
//drv8323s_write_reg(5,0x25d);
|
||||
drv8323s_write_reg(4,0x723);
|
||||
|
||||
// Macros
|
||||
#define ENABLE_GATE() palSetPad(GPIOB, 5)
|
||||
|
|
Loading…
Reference in New Issue