This commit is contained in:
Bertrand Songis
2021-02-11 17:50:43 +01:00
parent 4948f98f06
commit 4a2e20815f
7 changed files with 40 additions and 56 deletions
+2 -13
View File
@@ -18,23 +18,12 @@
* GNU General Public License for more details.
*/
#ifndef _BOOTLOADER_FLASH_H_
#define _BOOTLOADER_FLASH_H_
#pragma once
bool isBootloader(const char * filename);
class BootloaderDeviceFirmwareUpdate
class BootloaderFirmwareUpdate
{
public:
explicit BootloaderDeviceFirmwareUpdate(ModuleIndex module):
module(module)
{
}
void flashFirmware(const char * filename, ProgressHandler progressHandler);
protected:
ModuleIndex module;
};
#endif // _BOOTLOADER_FLASH_H_