Added Interlock
Fixed PID regulation functionality git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@250 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
@@ -138,7 +138,15 @@ ErrorStatus Display_clearScreen(struct Display* self)
|
||||
|
||||
ErrorStatus Display_clearLine(struct Display* self, size_t line)
|
||||
{
|
||||
return DisplayDevice_clearLine(self->displayDevice, line);
|
||||
char buffer[self->displayDevice->parameters.numberOfColumns];
|
||||
|
||||
int loopcounter;
|
||||
for (loopcounter = 0; loopcounter < self->displayDevice->parameters.numberOfColumns; loopcounter++)
|
||||
{
|
||||
buffer[loopcounter] = 0x20;
|
||||
}
|
||||
|
||||
return Display_write(self, buffer, self->displayDevice->parameters.numberOfColumns, line, 1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user