summaryrefslogtreecommitdiff
path: root/ports/nrf/background.c
diff options
context:
space:
mode:
authorhathach <thach@tinyusb.org>2018-07-06 14:39:49 +0700
committerhathach <thach@tinyusb.org>2018-07-06 14:39:49 +0700
commit948ddf846326e6b75ac46b75dc1423d6c34541dd (patch)
treeaede5a65e01f6b7f73776eadd5fa749d03a341ea /ports/nrf/background.c
parent6ef3a0b1819d260b6c13145d4151d0a8771fe665 (diff)
make SD default to s140 and s132 for nrf52840 and nrf52832
add CFG_HWUART_FOR_SERIAL for using jlink as REPL
Diffstat (limited to 'ports/nrf/background.c')
-rw-r--r--ports/nrf/background.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/ports/nrf/background.c b/ports/nrf/background.c
index fc8128ca8..094da5d9c 100644
--- a/ports/nrf/background.c
+++ b/ports/nrf/background.c
@@ -36,19 +36,11 @@
#include "tusb.h"
-/*------------------------------------------------------------------*/
-/* MACRO TYPEDEF CONSTANT ENUM
- *------------------------------------------------------------------*/
-
-/*------------------------------------------------------------------*/
-/* VARIABLE DECLARATION
- *------------------------------------------------------------------*/
-
-/*------------------------------------------------------------------*/
-/* FUNCTION DECLARATION
- *------------------------------------------------------------------*/
void run_background_tasks(void) {
+
+#ifdef NRF52840_XXAA
tusb_task();
tud_cdc_flush();
+#endif
}