refactoring

This commit is contained in:
bernd-herzog 2023-05-05 12:58:28 +02:00
parent e80e4e3bfd
commit df8e79f9e6
2 changed files with 11 additions and 5 deletions

View file

@ -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
);