diff --git a/Inc/config.h b/Inc/config.h index 207afa5..ecd4218 100644 --- a/Inc/config.h +++ b/Inc/config.h @@ -2,9 +2,9 @@ #include "stm32f1xx_hal.h" //Select the calibration values for the different pcbs -//#define BOBBYCAR_PCB_FRONT //Green PCB -//#define BOBBYCAR_PCB_REAR //Blue PCB -#define HOVERBRETT //Green PCB in Hoverbrett +#define BOBBYCAR_PCB_FRONT //Green PCB. black programming cable. outer power button +//#define BOBBYCAR_PCB_REAR //Blue PCB. with XT60-U, beige programming cable. inner power button +//#define HOVERBRETT //Green PCB in Hoverbrett // ############################### DO-NOT-TOUCH SETTINGS ############################### @@ -216,7 +216,7 @@ #define DIAG_ENA 1 // [-] Motor Diagnostics enable flag: 0 = Disabled, 1 = Enabled (default) // Limitation settings -#define I_MOT_MAX 14 // [A] Maximum motor current limit +#define I_MOT_MAX 15 // [A] Maximum motor current limit #define I_DC_MAX 17 // [A] Maximum DC Link current limit (This is the final current protection. Above this value, current chopping is applied. To avoid this make sure that I_DC_MAX = I_MOT_MAX + 2A) #define N_MOT_MAX 1000 // [rpm] Maximum motor speed limit