8000 automatic inclusion of `sketch_globals.h` for `sketch.ino` and libraries by d-a-v · Pull Request #1524 · arduino/arduino-cli · GitHub
[go: up one dir, main page]

Skip to content

automatic inclusion of sketch_globals.h for sketch.ino and libraries #1524

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainer 8000 s and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into globals.h
  • Loading branch information
d-a-v authored Jan 17, 2022
commit 5e76bd518ed47a6674f944f57bd3e46e109c6ecc
7 changes: 6 additions & 1 deletion legacy/builder/types/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,12 @@ func (ctx *Context) SetLogger(l i18n.Logger) {
ctx.logger = l
}

func (ctx *Context) PushProgress() {
if ctx.ProgressCB != nil {
ctx.ProgressCB(&rpc.TaskProgress{Percent: ctx.Progress.Progress})
}
}

func (ctx *Context) SetGlobalIncludeOption () {
if len(ctx.GlobalIncludeOption) == 0 {

Expand All @@ -279,5 +285,4 @@ func (ctx *Context) SetGlobalIncludeOption () {
}

ctx.GlobalIncludeOption += " "
}
}
You are viewing a condensed version of this merge commit. You can view the full changes here.
0