mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-23 12:58:00 +00:00
CPLD: Organize CPLD code into namespaces.
Use type aliases to hide actual CPLD type (somewhat).
This commit is contained in:
@@ -22,16 +22,16 @@
|
||||
#ifndef __PORTAPACK_CPLD_DATA_H__
|
||||
#define __PORTAPACK_CPLD_DATA_H__
|
||||
|
||||
#include "cpld_max5.hpp"
|
||||
|
||||
#include <cstdint>
|
||||
#include <array>
|
||||
|
||||
namespace portapack {
|
||||
namespace cpld {
|
||||
|
||||
struct Config {
|
||||
const std::array<uint16_t, 3328>& block_0;
|
||||
const std::array<uint16_t, 512>& block_1;
|
||||
};
|
||||
using CPLD = ::cpld::max5::CPLD;
|
||||
using Config = ::cpld::max5::Config;
|
||||
|
||||
namespace rev_20150901 {
|
||||
|
||||
|
Reference in New Issue
Block a user