Guard USE AP prototypes with macro
@@ -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
