diff --git a/nuttx-patches/CMakeLists.txt b/nuttx-patches/CMakeLists.txt index 1c1a2ed602..239183efff 100644 --- a/nuttx-patches/CMakeLists.txt +++ b/nuttx-patches/CMakeLists.txt @@ -58,7 +58,7 @@ set(nuttx_patches 00024-BACKPORT-stm32f7-serial-dma-hotfix.patch 00025-BACKPORT-add-set-ex-to-nsh.patch 00026-BACKPORT-stm32fX-serial-fix-freezing.patch - 00027-BACKPORT-stm32-sdio-1-bit-and-16G-fix.patch + 00027-BACKPORT-stm32-sdio-1-bit-and-16G-fix.patch 90000-PENDING-wip-inflight-to-upstream.patch ) @@ -74,6 +74,6 @@ file(GLOB patches_found *.patch) foreach(patch_file ${patches_found}) list (FIND px4_nuttx_patches ${patch_file} _index) if (${_index} EQUAL -1) - message(WARNING "${patch_file} missing from nuttx-patches/CMakeLists.txt") + message(FATAL_ERROR "${patch_file} missing from nuttx-patches/CMakeLists.txt") endif() endforeach()