Commit 2c69a7c0 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk Committed by Adam Wujek

dev/rxts_calibrator: return error only when calibration failed (not when storage failed)

Otherwise software is stuck when sdbfs image is not stored to flash.
This fixes commit:
b6276fef [BUG: 1530] dev/rxts_calibrator: add timeout for rxts_calibration_update
parent dbd53bdc
...@@ -257,7 +257,7 @@ static int calib_t24p_slave(uint32_t *value) ...@@ -257,7 +257,7 @@ static int calib_t24p_slave(uint32_t *value)
pp_printf("Wrote new t24p value: %d ps (%s)\n", *value, pp_printf("Wrote new t24p value: %d ps (%s)\n", *value,
rv < 0 ? "Failed" : "Success"); rv < 0 ? "Failed" : "Success");
} }
return rv; return 0;
} }
int calib_t24p(int mode, uint32_t *value) int calib_t24p(int mode, uint32_t *value)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment