Доработка. Работа над загрузкой флеш.
This commit is contained in:
@@ -113,6 +113,8 @@ func on_disconnect(tbl, selected_rows, unit_ems):
|
||||
func on_btn_flash_read(btn):
|
||||
await get_tree().create_timer(0.1).timeout
|
||||
btn.pressed = false
|
||||
for board in g_boards.values():
|
||||
board.need_flash_rd = true
|
||||
|
||||
|
||||
## Обработчик нажатия кнопки "Записать".
|
||||
@@ -460,6 +462,7 @@ func on_data_ems_received(unit_ems):
|
||||
active_board.state_board = active_board.READ
|
||||
active_board.start_rw_kems(true)
|
||||
elif board.online and board.read_done and board.need_flash_rd:
|
||||
print_debug()
|
||||
active_board = board
|
||||
active_board.state_board = active_board.READ_FLASH
|
||||
active_board.read_flash()
|
||||
|
||||
Reference in New Issue
Block a user