diff --git a/firmware/export/debug.h b/firmware/export/debug.h index 93ebd5f546..043ec26bbb 100644 --- a/firmware/export/debug.h +++ b/firmware/export/debug.h @@ -33,7 +33,7 @@ extern void ldebugf(const char* file, int line, const char *fmt, ...) #ifdef __GNUC__ /* */ -#if (SIMULATOR) && !defined(__PCTOOL__) \ +#if defined(SIMULATOR) && !defined(__PCTOOL__) \ || ((CONFIG_PLATFORM & PLATFORM_ANDROID) && defined(DEBUG)) #define DEBUGF debugf #define LDEBUGF(...) ldebugf(__FILE__, __LINE__, __VA_ARGS__)