mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-11 09:09:29 +00:00
CPLD: Introduce Config type to clean up programming interface.
Hide the details of how the CPLD data is stored.
This commit is contained in:
@@ -22,12 +22,10 @@
|
||||
#ifndef __CPLD_UPDATE_H__
|
||||
#define __CPLD_UPDATE_H__
|
||||
|
||||
#include <cstdint>
|
||||
#include <array>
|
||||
#include "portapack_cpld_data.hpp"
|
||||
|
||||
bool cpld_update_if_necessary(
|
||||
const std::array<uint16_t, 3328>& block_0,
|
||||
const std::array<uint16_t, 512>& block_1
|
||||
const portapack::cpld::Config config
|
||||
);
|
||||
|
||||
bool cpld_hackrf_load_sram();
|
||||
|
||||
Reference in New Issue
Block a user