fix compile for AVR

This commit is contained in:
matthias.ringwald@gmail.com 2014-12-03 22:39:18 +00:00
parent 5ed6b7c818
commit f61ec82363
2 changed files with 5 additions and 1 deletions

View File

@ -48,6 +48,10 @@
#include <stdio.h>
#ifdef __AVR__
#include <avr/pgmspace.h>
#endif
#ifndef EMBEDDED
// Avoid complaints of unused arguments when log levels are disabled.
static inline void __log_unused(const char *format, ...) {

View File

@ -48,7 +48,7 @@
#include <stdint.h>
#ifdef __AVR__
#include <avr/progmem.h>
#include <avr/pgmspace.h>
#endif
#if defined __cplusplus