Fork of Smoothie to port to mbed non-LPC targets.

Dependencies:   mbed

Fork of Smoothie by Stéphane Cachat

Revision:
2:1df0b61d3b5a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libs/AppendFileStream.cpp	Fri Feb 28 18:52:52 2014 -0800
@@ -0,0 +1,12 @@
+#include "AppendFileStream.h"
+#include "stdio.h"
+
+int AppendFileStream::puts(const char *str)
+{
+    FILE *fd= fopen(this->fn, "a");
+    if(fd == NULL) return 0;
+
+    int n= fwrite(str, 1, strlen(str), fd);
+    fclose(fd);
+    return n;
+}