Updates:
- Re-located repairprocessrow information in dedicated object - added error conditions to repair row and added condition handling to repair process git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@260 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
@@ -122,7 +122,6 @@ int PID_calculate(struct Pid* self, int error)
|
||||
|
||||
// Calculate proportional
|
||||
pTerm = (self->Kp * error);
|
||||
LOGGER_WARNING(mainLog, "pTerm %d, iTerm %d, Kp %d, Ki %d, error %d", pTerm, self->iTerm, self->Kp, self->Ki, error);
|
||||
|
||||
returnValue = (self->iTerm + dTerm + pTerm) / PID_FIXED_POINT_FACTOR;
|
||||
self->input_d1 = error;
|
||||
|
||||
@@ -407,6 +407,7 @@ static ErrorStatus write(const struct DisplayDevice* self, const char* buffer, s
|
||||
|
||||
if (returnValue == SUCCESS)
|
||||
{
|
||||
// Send one byte at a time (display requirement)
|
||||
int loopcounter;
|
||||
for (loopcounter = 0; loopcounter < length; loopcounter++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user