bootloader: Make run() function return a bool.
authorTilman Sauerbeck <tilman@code-monkey.de>
Sun, 7 Jul 2019 07:57:33 +0000 (09:57 +0200)
committerTilman Sauerbeck <tilman@code-monkey.de>
Sun, 5 Jan 2020 19:38:11 +0000 (20:38 +0100)
commit2b618b466f5ba3df4bb97afb732d10469c5da3c0
treeacf945d1157d26b6795edf84279c7b8e98d3d770
parente3c4f8ce159a91cd90b2d97e23c9a9c707ca1d5d
bootloader: Make run() function return a bool.

The return value indicates if the caller should continue to call
the function. It only returns false once COMMAND_START_APP is seen.

The idea is that after run() returns false, the we can jump to the
application code.
src/bootloader/bootloader.rs