add touch1200 for uploading

This commit is contained in:
hathach committed 2018-08-24 18:47:29 +07:00
1 parent 4cbcf9b351
commit adc6182e81
4 files changed
+34 -8

No files matched your search

@@ -23,6 +23,8 @@
#include "wiring_digital.h"
#include "nrf.h"
extern "C" void usb_init(void);
const uint32_t g_ADigitalPinMap[] =
{
0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ,
@@ -39,5 +41,8 @@ void initVariant()
pinMode(PIN_LED2, OUTPUT);
ledOff(PIN_LED2);
// USB init TODO may have trouble with ISR when SD is enabled
usb_init();
}