tests: gui: Pass image pointer to fs_write
Pass image pointer to fs_write in function setup_fs of lvgl tests. Signed-off-by: Jan Van Winkel <jan.van_winkel@dxplore.eu>
This commit is contained in:
parent
799b46e35e
commit
631a90cd42
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ void setup_fs(void)
|
|||
return;
|
||||
}
|
||||
|
||||
ret = fs_write(&img, &c_img->data, c_img->data_size);
|
||||
ret = fs_write(&img, c_img->data, c_img->data_size);
|
||||
if (ret < 0) {
|
||||
TC_PRINT("Failed to write image file data: %d\n", ret);
|
||||
ztest_test_fail();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue