Fixed several issues:
- ADC has now averaging - Pause screen added - Fixed display glitches for most parts git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@258 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
@@ -126,6 +126,7 @@ ErrorStatus Display_clearScreen(struct Display* self)
|
||||
{
|
||||
ErrorStatus returnValue = SUCCESS;
|
||||
returnValue = DisplayDevice_clear(self->displayDevice);
|
||||
vTaskDelay(5);
|
||||
Display_clearShadow(self);
|
||||
return returnValue;
|
||||
}
|
||||
@@ -309,6 +310,7 @@ static void DisplayTask(void* parameters)
|
||||
|
||||
size_t rowStart;
|
||||
size_t columnStart;
|
||||
|
||||
while (self->runTask)
|
||||
{
|
||||
// Wait until a write or refresh function has requested this task to write to the display
|
||||
@@ -406,7 +408,7 @@ static void DisplayTask(void* parameters)
|
||||
}
|
||||
|
||||
// Task has been marked to end - after leaving the endless loop, end/delete this task
|
||||
vTaskDelete(self->taskHandle);
|
||||
vTaskDelete(NULL);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user