refactoors
[mTask.git] / client / spec.c
index 762eedc..52ed512 100644 (file)
@@ -1,11 +1,15 @@
-//TODO
 #include "spec.h"
 #include "interface.h"
+#include "mem.h"
 
 void spec_send(void)
 {
        write_byte('c');
-       write_byte(0 | HAVELED << 0 | HAVEAIO << 1 | HAVEDIO << 2);
-       write16(MAXTASKS);
-       write16(MAXSDSS);
+       write_byte(0 | (HAVELED << 0) );//| (HAVEAIO << 1) | (HAVEDIO << 2));
+       write16(MEMSIZE);
+       write16(STACKSIZE);
+       write_byte(APINS);
+       write_byte(DPINS);
+       write_byte('\n');
+       write_byte('\n');
 }