Fixed comments

git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@409 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
mmi
2017-12-18 14:32:51 +00:00
parent e92304755c
commit 0fb4fa7deb
11 changed files with 451 additions and 62 deletions

View File

@@ -100,6 +100,28 @@ ErrorStatus DisplayDevice_construct (struct DisplayDevice* self, struct DisplayD
return returnValue;
}
void DisplayDevice_destruct (struct DisplayDevice* self)
{
if (self->initialized)
{
self->_reset = NULL;
self->_setState = NULL;
self->_backspace = NULL;
self->_setCursorToPosition = NULL;
self->_writeCharacter = NULL;
self->_write = NULL;
self->_clear = NULL;
self->_clearLine = NULL,
self->_setBrightness = NULL;
self->_setContrast = NULL;
self->_invert = NULL;
self->_setBlinkingCursor = NULL;
self->initialized = false;
}
}
ErrorStatus DisplayDevice_reset(const struct DisplayDevice* self)
{
ErrorStatus returnValue = SUCCESS;

View File

@@ -283,7 +283,7 @@ static void loggerTask(void* parameters)
#if defined(ENABLE_SERIAL_LOGGING)
// Formatted print
snprintf(str, sizeof(str) / sizeof(str[0]), "%s[%s] %09d %s, %s, %d: %s%s\n",
snprintf(str, sizeof(str) / sizeof(str[0]), "%s[%s] %09d %s, %s, %d: %s%s\n\r",
vt100Prefix,
(logQueueItem.logType == LOGTYPE_DEBUG) ? "DBG" :
(logQueueItem.logType == LOGTYPE_INFO) ? "INF" :