avr/dtostrf.h should only be included if Due is used

This commit is contained in:
Kristian Sloth Lauszus 2015-05-23 16:03:50 +02:00
parent 36056a4039
commit 5ee8ee9325

View file

@ -1,5 +1,7 @@
/* Parser for standard HID scale (usage page 0x8d) data input report (ID 3) */
#ifdef ARDUINO_SAM_DUE
#include <avr/dtostrf.h>
#endif
#include "scale_rptparser.h"
const char* UNITS[13] = {