Commit 3a08c41
committed
Call findIncludesUntilDone from only one place
Previously, it was called once for the main cpp file, and then in a loop
for any extra source files from the sketch or dependent libraries.
However, this can be simplified by just adding the main .cpp file to the
queue, and then letting the loop handle it.
This produces a tiny change in the order in which source files are
processed for includes, but any setups affected by this are already
prone to errors.
Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl>1 parent 85de69a commit 3a08c41
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 52 | + | |
56 | 53 | | |
57 | 54 | | |
58 | 55 | | |
| |||
61 | 58 | | |
62 | 59 | | |
63 | 60 | | |
64 | | - | |
| 61 | + | |
65 | 62 | | |
66 | 63 | | |
67 | 64 | | |
| |||
0 commit comments