diff --git a/os/kernel/include/chschd.h b/os/kernel/include/chschd.h index 9d58fb887..3c55d59a0 100644 --- a/os/kernel/include/chschd.h +++ b/os/kernel/include/chschd.h @@ -172,7 +172,7 @@ extern "C" { * equal or higher priority, if any. */ #if !defined(PORT_OPTIMIZED_DOYIELDS) || defined(__DOXYGEN__) -#define chSchDoYieldS(void) { \ +#define chSchDoYieldS() { \ if (chSchCanYieldS()) \ chSchDoRescheduleI(); \ }