mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 04:59:55 +00:00 
			
		
		
		
	components/log: fix error when using ESP_LOGx from C++ code
This commit is contained in:
		| @@ -154,8 +154,8 @@ uint32_t esp_log_timestamp(); | |||||||
| #define LOG_COLOR_BLUE    "34" | #define LOG_COLOR_BLUE    "34" | ||||||
| #define LOG_COLOR_PURPLE  "35" | #define LOG_COLOR_PURPLE  "35" | ||||||
| #define LOG_COLOR_CYAN    "36" | #define LOG_COLOR_CYAN    "36" | ||||||
| #define LOG_COLOR(COLOR)  "\033[0;"COLOR"m" | #define LOG_COLOR(COLOR)  "\033[0;" COLOR "m" | ||||||
| #define LOG_BOLD(COLOR)   "\033[1;"COLOR"m" | #define LOG_BOLD(COLOR)   "\033[1;" COLOR "m" | ||||||
| #define LOG_RESET_COLOR   "\033[0m" | #define LOG_RESET_COLOR   "\033[0m" | ||||||
| #define LOG_COLOR_E       LOG_COLOR(LOG_COLOR_RED) | #define LOG_COLOR_E       LOG_COLOR(LOG_COLOR_RED) | ||||||
| #define LOG_COLOR_W       LOG_COLOR(LOG_COLOR_BROWN) | #define LOG_COLOR_W       LOG_COLOR(LOG_COLOR_BROWN) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Ivan Grokhotkov
					Ivan Grokhotkov