Skip to content

Commit

Permalink
Firmware flush function should return int (#1167)
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Corry authored Nov 1, 2022
1 parent d065aac commit 304cf56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/system/firmware.toit
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ class FirmwareWriter extends ServiceResourceProxy:
pad size/int --value/int=0 -> none:
_client_.firmware_writer_pad handle_ size value

flush -> none:
_client_.firmware_writer_flush handle_
flush -> int:
return _client_.firmware_writer_flush handle_

commit --checksum/ByteArray?=null -> none:
_client_.firmware_writer_commit handle_ checksum
Expand Down

0 comments on commit 304cf56

Please sign in to comment.