]> rtime.felk.cvut.cz Git - fpga/rpi-motor-control.git/blobdiff - pmsm-control/test_sw/commutators.c
Commutation function now implemented with use of polymorphism.
[fpga/rpi-motor-control.git] / pmsm-control / test_sw / commutators.c
index 1a6372417be911a9f57110377aabeb440a65e1e9..f20824e66cb44f8d3c3e3c5d9229a4c3b2d5a931 100644 (file)
@@ -6,6 +6,15 @@
 #include "commutators.h"
 #include "pxmc_sin_fixed.h"    /*sinus function*/
 
+
+/*
+ * \brief
+ * No commutation.
+ */
+void zero_commutator(struct rpi_state* this){
+       return;
+}
+
 /*
  * \brief
  * Computes minimum value of three numbers.