diff --git a/src/lv_misc/lv_txt_ap.h b/src/lv_misc/lv_txt_ap.h index b593f9f58..0376b175e 100644 --- a/src/lv_misc/lv_txt_ap.h +++ b/src/lv_misc/lv_txt_ap.h @@ -18,6 +18,8 @@ extern "C" { #include "lv_txt.h" #include "../lv_draw/lv_draw.h" +#if LV_USE_ARABIC_PERSIAN_CHARS == 1 + /********************* * DEFINES *********************/ @@ -50,6 +52,8 @@ void lv_txt_ap_proc(const char * txt, char * txt_out); * MACROS **********************/ +#endif // LV_USE_ARABIC_PERSIAN_CHARS + #ifdef __cplusplus } /* extern "C" */ #endif