diff atsc.c @ 66:39f2ccd06b57

atsc hack: apparently this AT@SC command needs double quotes
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 02 Feb 2014 23:06:18 +0000
parents 3890c2672fe0
children
line wrap: on
line diff
--- a/atsc.c	Sun Feb 02 08:45:56 2014 +0000
+++ b/atsc.c	Sun Feb 02 23:06:18 2014 +0000
@@ -53,6 +53,6 @@
 	}
 	hexout[15] = '\0';
 	cksum = (n1 + n2) % 1973;
-	printf("AT@SC=%s%04u\n", hexout, cksum);
+	printf("AT@SC=\"%s%04u\"\n", hexout, cksum);
 	exit(0);
 }