diff --git a/include/etl/callback_timer.h b/include/etl/callback_timer.h index 7f16bffe..cc30ec99 100644 --- a/include/etl/callback_timer.h +++ b/include/etl/callback_timer.h @@ -587,13 +587,11 @@ namespace etl // Call the function wrapper callback. (*reinterpret_cast*>(timer.p_callback))(); } -#if ETL_USING_CPP11 else if(timer.cbk_type == callback_timer_data::DELEGATE) { // Call the delegate callback. (*reinterpret_cast(timer.p_callback))(); } -#endif } has_active = !active_list.empty();