Commit ea83537
fix: initialize TargetAddress with correct defaults (Station=0xFF, ModuleIo=0x03FF)
new() zero-initializes a record struct, ignoring primary constructor default
values. Use named arguments to correctly set Station and ModuleIo defaults.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 249da7a commit ea83537
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
| 53 | + | |
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
| |||
0 commit comments