refactor(stk): change stk_init() return type to uint8_t

- Change function signature from int to uint8_t for clarity
- Makes return type intent explicit as status flag
This commit is contained in:
anth64 committed 2026-01-31 22:40:21 +01:00
1 parent 22c7da4336
commit 2f4b91c729
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -70,7 +70,7 @@ static const char *stk_error_string(int error_code)
}
}
int stk_init(void)
uint8_t stk_init(void)
{
char (*files)[STK_PATH_MAX] = NULL;
size_t file_count, i, successful_loads = 0;