zephyr/tests/drivers/disk/disk_access/src
Hu Zhenyu 3cef8e68df tests: drivers: disk: Replace the MAX function with if and else
As the parameter of "MAX" is uint32, the nagetive number will be
bigger than 0. The MAX function does not work as expected. So
change it to if/else form.

Fixes #51146

Signed-off-by: Hu Zhenyu <zhenyu.hu@intel.com>
2022-10-18 21:11:21 -04:00
..
main.c tests: drivers: disk: Replace the MAX function with if and else 2022-10-18 21:11:21 -04:00