Commit 4fc8672
committed
Fix strlcpy usage and improve Ethernet include handling
Corrects strlcpy usage in the client and server to avoid null pointer issues and ensures compatibility with Mbed platforms. Updates the viewer to conditionally include PortentaEthernet for specific boards, improving platform compatibility.1 parent 9ebad25 commit 4fc8672
File tree
3 files changed
+12
-6
lines changed- TankAlarm-112025-Client-BluesOpta
- TankAlarm-112025-Server-BluesOpta
- TankAlarm-112025-Viewer-BluesOpta
3 files changed
+12
-6
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1342 | 1342 | | |
1343 | 1343 | | |
1344 | 1344 | | |
| 1345 | + | |
1345 | 1346 | | |
1346 | | - | |
| 1347 | + | |
1347 | 1348 | | |
1348 | 1349 | | |
1349 | 1350 | | |
| |||
2325 | 2326 | | |
2326 | 2327 | | |
2327 | 2328 | | |
2328 | | - | |
| 2329 | + | |
2329 | 2330 | | |
2330 | 2331 | | |
2331 | 2332 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
346 | | - | |
347 | | - | |
348 | | - | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| |||
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| |||
0 commit comments