repositories
/
mTask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added debug statements, dynamic allocation is working for tasks
[mTask.git]
/
client
/
spec.c
diff --git
a/client/spec.c
b/client/spec.c
index
6fb66be
..
fdc626b
100644
(file)
--- a/
client/spec.c
+++ b/
client/spec.c
@@
-1,10
+1,12
@@
-//TODO
#include "spec.h"
#include "interface.h"
void spec_send(void)
{
#include "spec.h"
#include "interface.h"
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');
}
}