OUTLINED int CLASS::TS_step() { #STARTCOND if( TS_skip_group || (!TS_next_test && !TS_init()) || (TS_next_test > NTESTS) ) { return 0; } if (!TS_reset_document()) return -1; switch( (this->*___TesTS___[TS_next_test++ - 1])() ) { case 0: case 1: TS_has_loaded_document = 0; return 1; case -1: TS_next_test--; /* fallthrough */ default: return -1; } #else return 0; #endif }
void TS_Test(void) { Lcd_TC(); TS_init(); Check_Sel(); Uart_Printf("\n Pixel: 320 X 240. Coordinate Rang in: (0,0) - (320,240)\n"); Uart_Printf("\nLCD TouchScreen Test Example(please touch LCD screen)\n"); Uart_Printf("\npress any key to exit...\n"); Uart_Getch(); TS_close(); }