CPLD: Remove checksum function from libhackrf and hackrf_info.

The checksum calculation process was causing the CPLD configuration to reload from flash. With the new SRAM loading mechanism, flash contents may not be up to date, so the CPLD bitstream may regress to the point of not working or not working correctly. This commit is a short-term fix for mossmann/hackrf issue #609.
This commit is contained in:
Jared Boone
2019-03-27 12:16:39 -07:00
parent 53e8d698c7
commit ef5b907295
3 changed files with 7 additions and 2 deletions

View File

@@ -2105,6 +2105,7 @@ int ADDCALL hackrf_operacake_gpio_test(hackrf_device* device, const uint8_t addr
}
}
#ifdef HACKRF_ISSUE_609_IS_FIXED
int ADDCALL hackrf_cpld_checksum(hackrf_device* device,
uint32_t* crc)
{
@@ -2133,6 +2134,7 @@ int ADDCALL hackrf_cpld_checksum(hackrf_device* device,
return HACKRF_SUCCESS;
}
}
#endif /* HACKRF_ISSUE_609_IS_FIXED */
#ifdef __cplusplus
} // __cplusplus defined.