mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-13 21:29:56 +00:00
Consolidate peripheral declarations.
This commit is contained in:
@@ -36,8 +36,7 @@
|
||||
#include "hackrf_gpio.hpp"
|
||||
using namespace hackrf::one;
|
||||
|
||||
#include "spi_pp.hpp"
|
||||
extern SPI ssp1;
|
||||
#include "portapack.hpp"
|
||||
|
||||
namespace radio {
|
||||
|
||||
@@ -75,7 +74,7 @@ static constexpr SPIConfig ssp_config_max5864 = {
|
||||
.cpsr = ssp1_cpsr,
|
||||
};
|
||||
|
||||
static spi::arbiter::Arbiter ssp1_arbiter(ssp1);
|
||||
static spi::arbiter::Arbiter ssp1_arbiter(portapack::ssp1);
|
||||
|
||||
static spi::arbiter::Target ssp1_target_max2837 {
|
||||
ssp1_arbiter,
|
||||
|
Reference in New Issue
Block a user