From 844a8cac3aabf24a8c9578fd29369afec20862f2 Mon Sep 17 00:00:00 2001 From: Adrian Miriuta Date: Fri, 5 Jun 2020 16:55:10 +0200 Subject: [PATCH] current limit typhoon --- src/main/target/TYPHOON32V2/target.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/target/TYPHOON32V2/target.h b/src/main/target/TYPHOON32V2/target.h index bb70909..37c4493 100644 --- a/src/main/target/TYPHOON32V2/target.h +++ b/src/main/target/TYPHOON32V2/target.h @@ -20,7 +20,7 @@ // hw constants #define HBRIDGE_DEAD_TIME 0 // (in 20.833ns cycles at 48MHz) (FD6288 has a builtin 200ns deadtime) -#define HBRIDGE_MAX_CURRENT 6719 // (in 10mA steps) +#define HBRIDGE_MAX_CURRENT 9013 // (in 10mA steps) #define HBRIDGE_MAX_TEMPERATURE 77 // °C #if (!defined(USE_PWM_FREQUENCY_48kHz)) #define TIMER1_INIT_PERIOD 1001