aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/fs/fatfs/fatfs_fsimpl.cpp10
1 files 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<FATFS_THREAD_STACK_SIZE>() {
-
- 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();