X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Flib%2Fcommand.c;fp=firmware%2Flib%2Fcommand.c;h=a8265714137218a416f9b6b040dde5f7113046df;hp=282d98adafc47c9d092901a8d266ac88d0320392;hb=4d264916c0263052ba7316d7127de6b4cfe8145c;hpb=767ae3781274b7ddbf868c399f180c9f96f9d314 diff --git a/firmware/lib/command.c b/firmware/lib/command.c index 282d98a..a826571 100644 --- a/firmware/lib/command.c +++ b/firmware/lib/command.c @@ -30,6 +30,17 @@ void debugstr(const char *str){ txstring(0xFF,0xFF,str); } +/*! \brief Transmit debug bytes. + + Transmits bytes for debugging. +*/ +void debugbytes(const char *bytes, unsigned int len){ + u16 i; + txhead(0xFF,0xFE,len); + for(i=0;i