diff --git a/src/HDLog.c b/src/HDLog.c index 4efb956..4499882 100644 --- a/src/HDLog.c +++ b/src/HDLog.c @@ -225,7 +225,7 @@ static uint8_t HDLogFpgaError(const uint8_t *data, int len, uint8_t isWrite, uin printf("%s fpga error, len[%d]\r\n", opt, len); HDLogHex((const uint8_t *)(data), len, 1, NULL); - return 1; + return 0; } uint8_t HDLogPrintFpgaHeader(const uint8_t *data, int len, uint8_t isWrite, uint8_t checkFpga)