File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 142
142
#include " mbed_debug.h"
143
143
#include < errno.h>
144
144
145
- /* Required version: 5.8 .0 and above */
146
- #if defined( MBED_MAJOR_VERSION) && MBED_MAJOR_VERSION >= 5
147
- #if (MBED_VERSION < MBED_ENCODE_VERSION(5,8 ,0))
148
- #error "Incompatible mbed-os version detected! Required 5.8 .0 and above"
145
+ /* Required version: 5.9 .0 and above */
146
+ #if defined(MBED_MAJOR_VERSION) && MBED_MAJOR_VERSION >= 5
147
+ #if (MBED_VERSION < MBED_ENCODE_VERSION(5,9 ,0))
148
+ #error "Incompatible mbed-os version detected! Required 5.9 .0 and above"
149
149
#endif
150
150
#else
151
- #warning "mbed-os version 5.8 .0 or above required"
151
+ #warning "mbed-os version 5.9 .0 or above required"
152
152
#endif
153
153
154
154
#ifndef MBED_CONF_SD_CMD_TIMEOUT
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ void test_directory_failures() {
188
188
res = fs.mkdir (" potato" , 0777 );
189
189
TEST_ASSERT_EQUAL (-EEXIST, res);
190
190
res = dir[0 ].open (&fs, " tomato" );
191
- TEST_ASSERT_EQUAL (-ENOENT , res);
191
+ TEST_ASSERT_EQUAL (-ENOTDIR , res);
192
192
res = dir[0 ].open (&fs, " burito" );
193
193
TEST_ASSERT_NOT_EQUAL (0 , res);
194
194
res = file[0 ].open (&fs, " tomato" , O_RDONLY);
You can’t perform that action at this time.
0 commit comments