forked from platformio/platformio-core
PyLint fix
This commit is contained in:
@ -33,8 +33,14 @@ TRANSPORT_OPTIONS = {
|
|||||||
},
|
},
|
||||||
"mbed": {
|
"mbed": {
|
||||||
"include": "#include <mbed.h>",
|
"include": "#include <mbed.h>",
|
||||||
"object": "#if MBED_MAJOR_VERSION == 6\nUnbufferedSerial pc(USBTX, USBRX);\n#else\nRawSerial pc(USBTX, USBRX);\n#endif",
|
"object": (
|
||||||
"putchar": "#if MBED_MAJOR_VERSION == 6\npc.write(&c, 1);\n#else\npc.putc(c);\n#endif",
|
"#if MBED_MAJOR_VERSION == 6\nUnbufferedSerial pc(USBTX, USBRX);\n"
|
||||||
|
"#else\nRawSerial pc(USBTX, USBRX);\n#endif"
|
||||||
|
),
|
||||||
|
"putchar": (
|
||||||
|
"#if MBED_MAJOR_VERSION == 6\npc.write(&c, 1);\n"
|
||||||
|
"#else\npc.putc(c);\n#endif"
|
||||||
|
),
|
||||||
"flush": "",
|
"flush": "",
|
||||||
"begin": "pc.baud($baudrate);",
|
"begin": "pc.baud($baudrate);",
|
||||||
"end": "",
|
"end": "",
|
||||||
|
Reference in New Issue
Block a user