From efda3f86c1704062c1afc75dfe4144251d7e8588 Mon Sep 17 00:00:00 2001 From: borisbstyle Date: Tue, 2 Feb 2016 00:04:45 +0100 Subject: [PATCH] fix merge --- src/main/mw.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/mw.c b/src/main/mw.c index 9658b46f2..b91213825 100644 --- a/src/main/mw.c +++ b/src/main/mw.c @@ -63,6 +63,7 @@ #include "io/serial_cli.h" #include "io/serial_msp.h" #include "io/statusindicator.h" +#include "io/asyncfatfs/asyncfatfs.h" #include "rx/rx.h" #include "rx/msp.h" @@ -744,6 +745,10 @@ void taskMainPidLoop(void) writeMotors(); } +#ifdef USE_SDCARD + afatfs_poll(); +#endif + #ifdef BLACKBOX if (!cliMode && feature(FEATURE_BLACKBOX)) { handleBlackbox();