Mladen Ban / Mbed 2 deprecated STM32F407VET6_USBHostMSD_1

Dependencies:   mbed FATFileSystem USBHost-STM32F4

Files at this revision

API Documentation at this revision

Comitter:
mladen278
Date:
Fri Nov 15 15:15:04 2019 +0000
Parent:
1:f1ba83d3df51
Commit message:
Main.cpp changed, addted.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Nov 14 16:08:09 2019 +0000
+++ b/main.cpp	Fri Nov 15 15:15:04 2019 +0000
@@ -45,7 +45,7 @@
         //fprintf(fp, "\n");
         fclose(fp);
     }
-    fp = fopen("/usb/kvar.txt", "a");
+    fp = fopen("/usb/kvar.txt", "w+");
     
     if (fp) {
         //fprintf(fp, "%i", bkvar);