X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=firmware%2Flib%2Fcommand.c;h=a8265714137218a416f9b6b040dde5f7113046df;hb=7d3404539568650baef6a21c85580ea8e3e097aa;hp=d984fca791feb33f357e38223acde6d73d0bd090;hpb=f4a6b415e762bcdc560f3ea655851d16f483ea5a;p=goodfet diff --git a/firmware/lib/command.c b/firmware/lib/command.c index d984fca..a826571 100644 --- a/firmware/lib/command.c +++ b/firmware/lib/command.c @@ -30,13 +30,25 @@ 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