From 5ee8ee93251f02283c2695224bde9b3965a49a73 Mon Sep 17 00:00:00 2001 From: Kristian Sloth Lauszus Date: Sat, 23 May 2015 16:03:50 +0200 Subject: [PATCH] avr/dtostrf.h should only be included if Due is used --- examples/HID/scale/scale_rptparser.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/HID/scale/scale_rptparser.cpp b/examples/HID/scale/scale_rptparser.cpp index f88d21ac..d9e00bc2 100644 --- a/examples/HID/scale/scale_rptparser.cpp +++ b/examples/HID/scale/scale_rptparser.cpp @@ -1,5 +1,7 @@ /* Parser for standard HID scale (usage page 0x8d) data input report (ID 3) */ +#ifdef ARDUINO_SAM_DUE #include +#endif #include "scale_rptparser.h" const char* UNITS[13] = {