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:
@@ -179,7 +179,7 @@ int CmdJablotronClone(const char *Cmd) {
|
|||||||
UsbCommand resp;
|
UsbCommand resp;
|
||||||
UsbCommand c = {CMD_T55XX_WRITE_BLOCK, {0,0,0}};
|
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[0] = blocks[i];
|
||||||
c.arg[1] = i;
|
c.arg[1] = i;
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
|
|||||||
Reference in New Issue
Block a user