Make IDCODE unsigned

This commit is contained in:
Alexey Starikovskiy
2023-08-29 20:01:21 +03:00
parent 8976404b78
commit 0f3afbcaea
19 changed files with 34 additions and 34 deletions
+1 -1
View File
@@ -250,7 +250,7 @@ void Altera::program(unsigned int offset, bool unprotect_flash)
}
}
int Altera::idCode()
uint32_t Altera::idCode()
{
unsigned char tx_data[4] = {IDCODE};
unsigned char rx_data[4];