File tree Expand file tree Collapse file tree
tockloader-lib/src/command_impl Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,8 +54,9 @@ impl IOCommands for ProbeRSConnection {
5454 return Err ( InternalError :: ConnectionNotOpen . into ( ) ) ;
5555 }
5656 let flash_address = self . get_settings ( ) . flash_address ;
57+ let start_address = self . get_settings ( ) . start_address ;
5758 let system_attributes =
58- SystemAttributes :: read_system_attributes ( self , flash_address) . await ?;
59+ SystemAttributes :: read_system_attributes ( self , flash_address, start_address ) . await ?;
5960 Ok ( system_attributes)
6061 }
6162}
Original file line number Diff line number Diff line change @@ -85,8 +85,9 @@ impl IOCommands for SerialConnection {
8585 ping_bootloader_and_wait_for_response ( stream) . await ?;
8686
8787 let flash_address = self . get_settings ( ) . flash_address ;
88+ let start_address = self . get_settings ( ) . start_address ;
8889 let system_attributes =
89- SystemAttributes :: read_system_attributes ( self , flash_address) . await ?;
90+ SystemAttributes :: read_system_attributes ( self , flash_address, start_address ) . await ?;
9091 Ok ( system_attributes)
9192 }
9293}
You can’t perform that action at this time.
0 commit comments