mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-25 07:10:43 -04:00
refactoring
This commit is contained in:
parent
e80e4e3bfd
commit
df8e79f9e6
2 changed files with 11 additions and 5 deletions
|
@ -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
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue