void ConsoleTestOutput::printBuffer(const char* s)
{
	while (*s) {
		if ('\n' == *s) PlatformSpecificPutchar('\r');
		PlatformSpecificPutchar(*s);
		s++;
	}
	flush();
}
Exemplo n.º 2
0
void ConsoleTestOutput::printBuffer(const char* s)
{
#if 1
    while(write(OutputFileDesc, s, strlen(s)) != 0){
      (void) rtems_task_wake_after( 1 );
    }
#else
    while (*s) {
        PlatformSpecificPutchar(*s);
        s++;
    }
    flush();
#endif
}