From 2fa014a7be21c7d893fbbb2101c97c51971321b9 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 4 Jan 2013 12:45:42 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5031 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/fs/fatfs/fatfs_fsimpl.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/os/fs/fatfs/fatfs_fsimpl.cpp b/os/fs/fatfs/fatfs_fsimpl.cpp index 4fd071f00..e63f71323 100644 --- a/os/fs/fatfs/fatfs_fsimpl.cpp +++ b/os/fs/fatfs/fatfs_fsimpl.cpp @@ -49,19 +49,13 @@ namespace chibios_fatfs { *------------------------------------------------------------------------*/ FatFSWrapper::FatFSServerThread::FatFSServerThread(void) : BaseStaticThread() { - - start(FATFS_THREAD_PRIORITY); } -/* FatFSWrapper::FatFSServerThread::~FatFSServerThread() { - - sendMessage(MSG_TERMINATE); - wait(); - }*/ - msg_t FatFSWrapper::FatFSServerThread::main() { msg_t sts; + setName("fatfs"); + /* Synchronous messages processing loop.*/ while (true) { ThreadReference tr = waitMessage();