fix: COVERITYSCAN 133871, fix one part, breaking another. shouldnt have changed to uint8_t since it can never be negative.

This commit is contained in:
iceman1001 2016-08-03 11:57:40 +02:00
parent 0f6e6b9acb
commit c5d886170c

View file

@ -179,7 +179,7 @@ int CmdJablotronClone(const char *Cmd) {
UsbCommand resp;
UsbCommand c = {CMD_T55XX_WRITE_BLOCK, {0,0,0}};
for (uint8_t i = 2; i >= 0; --i) {
for (int i = 2; i >= 0; --i) {
c.arg[0] = blocks[i];
c.arg[1] = i;
clearCommandBuffer();