Trond Enger / d7a_1x

Fork of d7a_1x by WizziLab

Revision:
31:ab9bfdbc6b44
Parent:
30:d775c1409849
Child:
33:f9a542d3efaa
diff -r d775c1409849 -r ab9bfdbc6b44 src/d7a_fs.cpp
--- a/src/d7a_fs.cpp	Wed May 25 08:23:15 2016 +0000
+++ b/src/d7a_fs.cpp	Thu Jun 02 09:24:52 2016 +0000
@@ -53,7 +53,7 @@
     
     memset(&g_fs_ctx.com, 0, sizeof(g_fs_ctx.com));
     g_fs_ctx.callback = config;
-    g_fs_ctx.thread = new Thread(d7a_fs_thread, NULL, osPriorityBelowNormal, DEFAULT_STACK_SIZE);
+    g_fs_ctx.thread = new Thread(d7a_fs_thread, NULL, osPriorityHigh, DEFAULT_STACK_SIZE);
 }
 
 static uint8_t d7a_fs_get_req_id(void)
@@ -173,7 +173,7 @@
     uint8_t id = d7a_fs_get_req_id();
     g_fs_ctx.com[id].req = (d7a_fs_com_req_t){id,FS_OP_STAT,fid,0,0};
     g_fs_ctx.com[id].data = length;
-    d7a_fs_msg((uint8_t*)&g_fs_ctx.com[id].req,sizeof(d7a_fs_com_req_t), KAL_COM_FLOW_FS_CMD);
+    d7a_fs_msg((uint8_t*)&g_fs_ctx.com[id].req, sizeof(d7a_fs_com_req_t), KAL_COM_FLOW_FS_CMD);
     // We do a "normal" STAT but we don't want to update our local(true) file-size
     // with the response of the STAT as:
     // - the distant is likely a "Host-file" with hazardous size/alloc