mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #77 from ARMmbed/version_non_rtos
Incorrect version number was checked for non-rtos configpull/7774/head
commit
6f2a5eec84
|
|
@ -148,9 +148,9 @@
|
|||
#include <errno.h>
|
||||
|
||||
/* Required version: 5.6.1 and above */
|
||||
#ifdef MBED_MAJOR_VERSION
|
||||
#if defined(MBED_MAJOR_VERSION) && MBED_MAJOR_VERSION >= 5
|
||||
#if (MBED_VERSION < MBED_ENCODE_VERSION(5,6,1))
|
||||
#error "Incompatible mbed-os version detected! Required 5.5.4 and above"
|
||||
#error "Incompatible mbed-os version detected! Required 5.6.1 and above"
|
||||
#endif
|
||||
#else
|
||||
#warning "mbed-os version 5.6.1 or above required"
|
||||
|
|
|
|||
Loading…
Reference in New Issue