Permalink
Browse files

Check if running on AVR for freeram.c

  • Loading branch information...
1 parent 8a8e7ba commit 93f2eee1ffb380a2a01a2adacf23c4d74fe96c96 @astagi astagi committed Mar 4, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 firmware/Nanpy/freeram.c
View
@@ -1,4 +1,4 @@
-
+#if defined(__AVR__)
#include <stdlib.h>
#include <avr/io.h>
@@ -62,3 +62,4 @@ int free_ram3()
return size;
}
+#endif

0 comments on commit 93f2eee

Please sign in to comment.