]> rtime.felk.cvut.cz Git - fpga/rpi-motor-control.git/blobdiff - pmsm-control/test_sw/controllers.c
Regulation function now implemented with use of polymorphism.
[fpga/rpi-motor-control.git] / pmsm-control / test_sw / controllers.c
index 059ade62a0b5d1c0849cec81efe83b2aab8a0cd4..bdf5ad95f326d5d08b24664f973a2c838931192e 100644 (file)
@@ -1,6 +1,13 @@
 
 #include "controllers.h"
 
 
 #include "controllers.h"
 
+/**
+ * \brief No regulation.
+ */
+inline void zero_controller(struct rpi_state* state){
+       return;
+}
+
 /*
  * \brief
  * Very simple PID regulator.
 /*
  * \brief
  * Very simple PID regulator.