From 180f4625a821ad2030b8097c85e01faf6f1b7460 Mon Sep 17 00:00:00 2001 From: Marco Date: Fri, 27 May 2022 02:18:20 +0200 Subject: [PATCH] Fix compiler version for intellisense. --- .vscode/c_cpp_properties.json | 4 ++-- .vscode/settings.json | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index 19e273c..c140ecc 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -9,10 +9,10 @@ "defines": [ "__AVR_ATmega32U4__" ], - "compilerPath": "/usr/bin/clang", + "compilerPath": "/usr/bin/avr-gcc", "cStandard": "c17", "cppStandard": "c++14", - "intelliSenseMode": "linux-clang-x64" + "intelliSenseMode": "linux-gcc-x64" } ], "version": 4 diff --git a/.vscode/settings.json b/.vscode/settings.json index 55fd198..24436c8 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,7 +1,9 @@ { "files.associations": { - "io.h": "c", - "sfr_defs.h": "c", - "string.h": "c" - } + "io.h": "c", + "sfr_defs.h": "c", + "string.h": "c", + "random": "c", + "math.h": "c" + } } \ No newline at end of file