X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Flib%2Fcommand.c;h=a8265714137218a416f9b6b040dde5f7113046df;hp=d984fca791feb33f357e38223acde6d73d0bd090;hb=ece96aec53fd1abd99808d3713af03ebd77a328a;hpb=f4a6b415e762bcdc560f3ea655851d16f483ea5a 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