We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca514b8 commit 02d2e5cCopy full SHA for 02d2e5c
host/class/msc/usb_host_msc/test_app/main/test_msc.c
@@ -160,7 +160,8 @@ static void write_read_file(const char *file_path)
160
fclose(f);
161
162
ESP_LOGI(TAG, "Reading file");
163
- TEST_ASSERT(fopen(file_path, "r"));
+ f = fopen(file_path, "r");
164
+ TEST_ASSERT(f);
165
fgets(line, sizeof(line), f);
166
167
// strip newline
0 commit comments