Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit 82212bc

Browse files
authored
add usbcon macro to config (#1231)
1 parent f964b7e commit 82212bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/arduino/intellisense.ts

+3
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ export function makeCompilerParserContext(dc: DeviceContext): ICoCoPaContext {
101101
runner.result.options.splice(mmdIndex);
102102
}
103103

104+
// Add USB Connected marco to defines
105+
runner.result.defines.push("USBCON")
106+
104107
try {
105108

106109
const cmd = os.platform() === "darwin" ? "Cmd" : "Ctrl";

0 commit comments

Comments
 (0)