From e4b86d149ccb89ce9a80244e8299e76299815f2e Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Wed, 20 Apr 2016 10:24:39 -0700 Subject: [PATCH] Change file recording behavior to create new file instead of appending. --- firmware/application/audio_thread.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/application/audio_thread.hpp b/firmware/application/audio_thread.hpp index 99d82c18..37802fe8 100644 --- a/firmware/application/audio_thread.hpp +++ b/firmware/application/audio_thread.hpp @@ -100,7 +100,7 @@ private: } msg_t run() { - if( !file.open_for_append(file_path) ) { + if( !file.open_for_writing(file_path) ) { return false; }