Fixed warning with unsigned char

This commit is contained in:
Dawid Buchwald 2022-02-19 21:18:03 +01:00
parent de19f203e0
commit 75ab3c418e
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ int updi_physical_sib(PROGRAMMER * pgm, unsigned char * buffer, uint8_t size)
int updi_link_open(PROGRAMMER * pgm) int updi_link_open(PROGRAMMER * pgm)
{ {
char init_buffer[1]; unsigned char init_buffer[1];
if (updi_physical_open(pgm, pgm->baudrate? pgm->baudrate: 115200, SERIAL_8E2) < 0) { if (updi_physical_open(pgm, pgm->baudrate? pgm->baudrate: 115200, SERIAL_8E2) < 0) {
return -1; return -1;