mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 18:02:38 +02:00
Make IDCODE unsigned
This commit is contained in:
+1
-1
@@ -400,7 +400,7 @@ bool Gowin::DisableCfg()
|
||||
return pollFlag(STATUS_SYSTEM_EDIT_MODE, 0);
|
||||
}
|
||||
|
||||
int Gowin::idCode()
|
||||
uint32_t Gowin::idCode()
|
||||
{
|
||||
uint8_t device_id[4];
|
||||
wr_rd(READ_IDCODE, NULL, 0, device_id, 4);
|
||||
|
||||
Reference in New Issue
Block a user