[Firmware] fixed two bugs with varslist generation
-The maximum number of SyncVars was not the same on MATLAB (25) and the
firmware (50).
-When adding a getter/setter-based Syncvar, the limit of the number of
SyncVars in the list was not checked.
-Removed the SyncVars related to the current regulator PID, to save space
in the GUI.