unify test - step 2

This commit is contained in:
iceman1001 committed 2025-03-25 10:17:42 +01:00
1 parent 875b3c44b4
commit ad292e8810
70 files changed
+272 -195

No files matched your search

+3 -1
View File
@@ -1132,7 +1132,9 @@ bool WaitForResponse(uint32_t cmd, PacketResponseNG *response) {
*/
bool GetFromDevice(DeviceMemType_t memtype, uint8_t *dest, uint32_t bytes, uint32_t start_index, uint8_t *data, uint32_t datalen, PacketResponseNG *response, size_t ms_timeout, bool show_warning) {
if (dest == NULL) return false;
if (dest == NULL) {
return false;
}
// init to ZERO
PacketResponseNG resp;