mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-10-18 09:22:00 +00:00
refactoring
This commit is contained in:
@@ -27,8 +27,14 @@
|
||||
namespace portapack {
|
||||
namespace cpld {
|
||||
|
||||
enum class CpldUpdateStatus {
|
||||
Success = 0,
|
||||
Idcode_check_failed = 1,
|
||||
Silicon_id_check_failed = 2,
|
||||
Program_failed = 3
|
||||
};
|
||||
|
||||
uint32_t update_if_necessary(
|
||||
CpldUpdateStatus update_if_necessary(
|
||||
const Config config
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user