summaryrefslogtreecommitdiffstats
path: root/Project/SyncMotor.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2020-06-13 00:01:53 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2020-06-13 00:01:53 -0300
commit6c0e98a2727d07e1fbb38b78c27d68e98ad09465 (patch)
tree12764ca986c9a1943bc2012b0cc751471773f6ee /Project/SyncMotor.h
parent196389a70ef3a03aa8764b9532812a17dd55014b (diff)
downloadPSP.git-6c0e98a2727d07e1fbb38b78c27d68e98ad09465.tar.gz
PSP.git-6c0e98a2727d07e1fbb38b78c27d68e98ad09465.tar.xz
PSP.git-6c0e98a2727d07e1fbb38b78c27d68e98ad09465.zip
Device context implemented
Diffstat (limited to 'Project/SyncMotor.h')
-rw-r--r--Project/SyncMotor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Project/SyncMotor.h b/Project/SyncMotor.h
index 3691a87..937bce5 100644
--- a/Project/SyncMotor.h
+++ b/Project/SyncMotor.h
@@ -114,12 +114,12 @@ struct SyncMotorElectricalData {
IntegrationConstant icSubEd;
// Control
- ControlElementContainer* avr = NULL;
- ControlElementContainer* speedGov = NULL;
+ ControlElementContainer* avr = nullptr;
+ ControlElementContainer* speedGov = nullptr;
// Control solvers
- ControlElementSolver* avrSolver = NULL;
- ControlElementSolver* speedGovSolver = NULL;
+ ControlElementSolver* avrSolver = nullptr;
+ ControlElementSolver* speedGovSolver = nullptr;
Machines::SyncMachineModel model = Machines::SM_MODEL_1;
};