Conversation
|
The only problem this might cause is an invalid memory access when |
|
Memory usage change @ 04ca777
Click for full report table
Click for full report CSV |
| // Wait for the nodeID to be set via Serial | ||
| if (Serial.available()) { | ||
| mesh.setNodeID(Serial.read()); | ||
| mesh.setNodeID(Serial.parseInt() & 0xFF); |
There was a problem hiding this comment.
Any noticeable increase in reported compile size comes from this change.
addrList into setNodeID()
resolves #221 as proposed
Memory usage change @ 05a2ab6
Click for full report per board
|
| Sketch | Flash | % | RAM for global variables | % |
|---|---|---|---|---|
| examples/RF24Mesh_Example | -628 | -2.04 | -11 | -0.54 |
| examples/RF24Mesh_Example_Master_Statics | +2 | +0.01 | -1 | -0.05 |
| examples/RF24Mesh_Example_Master_To_Nodes | -2 | -0.01 | -1 | -0.05 |
| examples/RF24Mesh_Example_Node2Node | -622 | -2.02 | -11 | -0.54 |
| examples/RF24Mesh_Example_Node2NodeExtra | -622 | -2.02 | -11 | -0.54 |
| examples/RF24Mesh_SerialConfig | +306 | +1 | -1 | -0.05 |
| examples/RF24Mesh_Example_Master | -2 | -0.01 | -1 | -0.05 |
arduino:samd:mkrzero
| Sketch | Flash | % | RAM for global variables | % |
|---|---|---|---|---|
| examples/RF24Mesh_Example | +8 | 0 | 0 | 0 |
| examples/RF24Mesh_Example_Master_Statics | +4 | 0 | 0 | 0 |
| examples/RF24Mesh_Example_Master_To_Nodes | +4 | 0 | 0 | 0 |
| examples/RF24Mesh_Example_Node2Node | +8 | 0 | 0 | 0 |
| examples/RF24Mesh_Example_Node2NodeExtra | +8 | 0 | 0 | 0 |
| examples/RF24Mesh_SerialConfig | +228 | +0.09 | 0 | 0 |
| examples/RF24Mesh_Example_Master | +4 | 0 | 0 | 0 |
|
Ha! This PR is so old that is was using the old CI action to report compile size deltas. I have since rewrote that action in Rust and you can see the differences on this thread (look in collapsed section "Click for full report ..."). |
|
Whoa, is this PR ready for testing etc then? |
|
Yep. Been sitting on the back burner for a long time. |
resolves #221 as proposed