removed check
This commit is contained in:
@@ -86,21 +86,6 @@ bool JARampupGAM::Setup() {
|
|||||||
uint32 isAutoIndex;
|
uint32 isAutoIndex;
|
||||||
uint32 fhpsPreProIndex;
|
uint32 fhpsPreProIndex;
|
||||||
|
|
||||||
if (ok) {
|
|
||||||
StreamString signalName = "Currspv";
|
|
||||||
ok = GetSignalIndex(InputSignals, currentspvIndex, signalName.Buffer());
|
|
||||||
if (!ok) {
|
|
||||||
REPORT_ERROR(ErrorManagement::ParametersError,
|
|
||||||
"Currspv input signal shall be defined.");
|
|
||||||
} else {
|
|
||||||
TypeDescriptor inputType = GetSignalType(InputSignals, currentspvIndex);
|
|
||||||
ok = (inputType == Float32Bit);
|
|
||||||
if (!ok) {
|
|
||||||
REPORT_ERROR(ErrorManagement::ParametersError,
|
|
||||||
"Signal Currspv shall be defined as float32.");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (ok) {
|
if (ok) {
|
||||||
StreamString signalName = "Targetv";
|
StreamString signalName = "Targetv";
|
||||||
ok = GetSignalIndex(InputSignals, targetvIndex, signalName.Buffer());
|
ok = GetSignalIndex(InputSignals, targetvIndex, signalName.Buffer());
|
||||||
|
|||||||
Reference in New Issue
Block a user