|
@@ -78,7 +78,9 @@ const static unsigned char rowoffset[4] =
|
|
|
*/
|
|
|
void wrtch(unsigned char c) {
|
|
|
if (write(pert_fd,&c,1) != 1)
|
|
|
- fprintf(stderr,"Error writing to pert: %s\n",c);
|
|
|
+ // %s makes a warning
|
|
|
+ //fprintf(stderr,"Error writing to pert: %s\n",c);
|
|
|
+ fprintf(stderr,"Error writing to pert: %d\n",c);
|
|
|
tcdrain(pert_fd);
|
|
|
sleep_us(char_delay);
|
|
|
}
|