update device name instead of record
[mTask.git] / client / spec.c
index 6fb66be..75def00 100644 (file)
@@ -4,7 +4,10 @@
 
 void spec_send(void)
 {
-       write_byte(0 | HAVELED << 0 | HAVEAIO << 1 | HAVEDIO << 2);
-       write_byte(MAXTASKS);
-       write_byte(MAXSDSS);
+       write_byte('c');
+       write_byte(0 | (HAVELED << 0) | (HAVEAIO << 1) | (HAVEDIO << 2));
+       write16(MAXTASKS);
+       write16(MAXSDSS);
+       write_byte('\n');
+       write_byte('\n');
 }