Skip to content

Commit cd7abd2

Browse files
committed
PLEASE CHECK: should retries be int32_t ? Avoids can't-be-<-0 warning-as-error
1 parent df7dd86 commit cd7abd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tmf882x_mode_app.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ static uint8_t get_app_cmd_stat(struct tmf882x_mode_app *app)
417417
}
418418

419419
static int32_t check_cmd_status(struct tmf882x_mode_app *app,
420-
uint32_t retries)
420+
int32_t retries)
421421
{
422422
int32_t num_retries;
423423
uint8_t status;

0 commit comments

Comments
 (0)