Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Commit

Permalink
Only provide dtostrf for samd arch.
Browse files Browse the repository at this point in the history
  • Loading branch information
aentinger committed Jul 23, 2021
1 parent aa8138b commit 5d5dd3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dtostrf.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#if !defined(ARDUINO_ARCH_MBED)
#if defined(ARDUINO_ARCH_SAMD)

#include <stdio.h>

Expand All @@ -31,4 +31,4 @@ char *dtostrf (double val, signed char width, unsigned char prec, char *sout)
return sout;
}

#endif /* !defined(ARDUINO_ARCH_MBED) */
#endif /* defined(ARDUINO_ARCH_SAMD) */

0 comments on commit 5d5dd3c

Please sign in to comment.