|
11 | 11 | /* Library Version */
|
12 | 12 | #define ESP_PANEL_VERSION_MAJOR 0
|
13 | 13 | #define ESP_PANEL_VERSION_MINOR 2
|
14 |
| -#define ESP_PANEL_VERSION_PATCH 2 |
| 14 | +#define ESP_PANEL_VERSION_PATCH 3 |
15 | 15 |
|
16 | 16 | /* File `ESP_Panel_Conf.h` */
|
17 | 17 | #define ESP_PANEL_CONF_VERSION_MAJOR 0
|
|
49 | 49 | #error "The file `ESP_Panel_Conf.h` version is not compatible. Please update it with the file from the library"
|
50 | 50 | #elif ESP_PANEL_CONF_FILE_VERSION_MINOR < ESP_PANEL_CONF_VERSION_MINOR
|
51 | 51 | #warning "The file `ESP_Panel_Conf.h` version is outdated. Some new configurations are missing"
|
52 |
| - #elif ESP_PANEL_CONF_FILE_VERSION_PATCH > ESP_PANEL_VERSION_PATCH |
| 52 | + #elif ESP_PANEL_CONF_FILE_VERSION_MINOR > ESP_PANEL_CONF_VERSION_MINOR |
53 | 53 | #warning "The file `ESP_Panel_Conf.h` version is newer than the library. Some new configurations are not supported"
|
54 | 54 | #endif /* ESP_PANEL_CONF_INCLUDE_INSIDE */
|
55 | 55 | #endif /* ESP_PANEL_CONF_FILE_SKIP */
|
|
91 | 91 | #if ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_MAJOR != ESP_PANEL_BOARD_CUSTOM_VERSION_MAJOR
|
92 | 92 | #error "The file `ESP_Panel_Board_Custom.h` version is not compatible. Please update it with the file from the library"
|
93 | 93 | #endif
|
94 |
| - // Only check the other versions if not skip the file |
95 |
| - #if !defined(ESP_PANEL_BOARD_FILE_SKIP) |
| 94 | + // Only check the other versions if not skip the file and not use the supported board |
| 95 | + #if !defined(ESP_PANEL_BOARD_FILE_SKIP) && !ESP_PANEL_USE_SUPPORTED_BOARD |
96 | 96 | #if ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_MINOR < ESP_PANEL_BOARD_CUSTOM_VERSION_MINOR
|
97 | 97 | #warning "The file `ESP_Panel_Board_Custom.h` version is outdated. Some new configurations are missing"
|
98 |
| - #elif ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_MINOR > ESP_PANEL_BOARD_CUSTOM_VERSION_PATCH |
| 98 | + #elif ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_MINOR > ESP_PANEL_BOARD_CUSTOM_VERSION_MINOR |
99 | 99 | #warning "The file `ESP_Panel_Board_Custom.h` version is newer than the library. Some new configurations are not supported"
|
100 | 100 | #endif
|
101 | 101 | #endif
|
|
0 commit comments