mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-19 14:14:04 +00:00
Sampling frequency and Receiver Model tweaks. (#3053)
This commit is contained in:
@@ -79,6 +79,15 @@ static constexpr SPIConfig ssp_config_max283x = {
|
||||
CR0_CLOCKRATE(ssp_scr(ssp1_pclk_f, ssp1_cpsr, max283x_spi_f) + 3) | CR0_FRFSPI | CR0_DSS9BIT,
|
||||
.cpsr = ssp1_cpsr,
|
||||
};
|
||||
|
||||
static max283x::MAX283x* transceiver = nullptr;
|
||||
|
||||
void set_rx_buff_vcm(const size_t v) {
|
||||
if (transceiver) {
|
||||
transceiver->set_rx_buff_vcm(v);
|
||||
}
|
||||
}
|
||||
|
||||
#else
|
||||
/* MAX2837/MAX2839 use 16-bit SPI transfers */
|
||||
static constexpr SPIConfig ssp_config_max283x = {
|
||||
|
||||
Reference in New Issue
Block a user