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