Skip to content

Commit

Permalink
Fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrawehr committed Feb 11, 2024
1 parent 5b27fb5 commit 5a61d0d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/ArduinoCsCompiler/Frontend/CompilerRun.cs
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,11 @@ private void RunCompiler(FileInfo inputInfo)

private void WriteTokenMap(ExecutionSet set)
{
if (_compiler == null)
{
return;
}

if (!string.IsNullOrEmpty(CommandLineOptions.TokenMapFile))
{
if (!_compiler.QueryBoardCapabilities(true, out var caps))
Expand Down

0 comments on commit 5a61d0d

Please sign in to comment.