X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=client%2Fspec.c;h=fdc626b46cbbbf87de944810f44c707073f76d2b;hb=09b207a39b7791098daafd7d87c3ad9d3db3e19f;hp=6fb66be2079a194cd1e1f1d48a3d721ff09ec4d4;hpb=a8b74f431274acab9369d983f0dfed64333dea9f;p=mTask.git diff --git a/client/spec.c b/client/spec.c index 6fb66be..fdc626b 100644 --- a/client/spec.c +++ b/client/spec.c @@ -1,10 +1,12 @@ -//TODO #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'); }