robot

Dependencies:   FastPWM3 mbed

Revision:
157:a9b2002994d5
Parent:
126:498f56ba051e
--- a/config_inverter.h	Thu May 04 21:16:51 2017 +0000
+++ b/config_inverter.h	Sun May 07 16:46:53 2017 +0000
@@ -8,12 +8,12 @@
 #define F_SW 5000.0f
 
 /*max duty cycle*/
-#define DTC_MAX 0.945f
+#define LINEAR_DTC_MAX 0.945f
 
 /*propagation delay swizzle factor (+w_m / V_PHASE_SWIZZLE)*/
 #define V_PHASE_SWIZZLE 1048.0f
 
-/*max modulation*/
-#define MODULATION_MAX (2.f * DTC_MAX - 1.f)
+/*max modulation, internally computed*/
+#define LINEAR_MODULATION_MAX (2.f * LINEAR_DTC_MAX - 1.f)
 
 #endif
\ No newline at end of file