diff --git a/os/rt/include/chmempools.h b/os/rt/include/chmempools.h index 67cefa7df..da7006eda 100644 --- a/os/rt/include/chmempools.h +++ b/os/rt/include/chmempools.h @@ -39,14 +39,14 @@ /* Module pre-compile time settings. */ /*===========================================================================*/ -#if !CH_CFG_USE_MEMCORE -#error "CH_CFG_USE_MEMPOOLS requires CH_CFG_USE_MEMCORE" -#endif - /*===========================================================================*/ /* Derived constants and error checks. */ /*===========================================================================*/ +#if !CH_CFG_USE_MEMCORE +#error "CH_CFG_USE_MEMPOOLS requires CH_CFG_USE_MEMCORE" +#endif + /*===========================================================================*/ /* Module data structures and types. */ /*===========================================================================*/