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:
Jan Van Winkel 2019-10-01 21:02:11 +02:00 committed by Anas Nashif
commit 631a90cd42

View file

@ -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();