device,ftdiJtagMPSSE,jtag: check/lint happy

This commit is contained in:
Gwenhael Goavec-Merou
2024-03-07 06:58:31 +01:00
parent 6dc2e752f4
commit 6366518ff7
5 changed files with 36 additions and 31 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ int Jtag::detectChain(unsigned max_dev)
char message[256];
uint8_t rx_buff[4];
/* WA for CH552/tangNano: write is always mandatory */
uint8_t tx_buff[4] = {0xff, 0xff, 0xff, 0xff};
const uint8_t tx_buff[4] = {0xff, 0xff, 0xff, 0xff};
uint32_t tmp;
/* cleanup */