Skip to content

Commit

Permalink
Attempt to increase wireless speed
Browse files Browse the repository at this point in the history
  • Loading branch information
ZodiusInfuser committed Dec 16, 2024
1 parent 816228e commit f5bbf79
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions firmware/yukon_wireless.patch
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,3 @@ index 5afe85e..c22084c 100644
+#define CS_PIN 17u /*25u*/
#define IRQ_SAMPLE_DELAY_NS 100

-#define SPI_PROGRAM_NAME spi_gap01_sample0
+//#define SPI_PROGRAM_NAME spi_gap01_sample0
+#define SPI_PROGRAM_NAME spi_gap0_sample1 // for lower cpu speed
#define SPI_PROGRAM_FUNC __CONCAT(SPI_PROGRAM_NAME, _program)
#define SPI_PROGRAM_GET_DEFAULT_CONFIG_FUNC __CONCAT(SPI_PROGRAM_NAME, _program_get_default_config)
#define SPI_OFFSET_END __CONCAT(SPI_PROGRAM_NAME, _offset_end)
#define SPI_OFFSET_LP1_END __CONCAT(SPI_PROGRAM_NAME, _offset_lp1_end)

-#define CLOCK_DIV 2
+#define CLOCK_DIV 8
#define CLOCK_DIV_MINOR 0
#define PADS_DRIVE_STRENGTH PADS_BANK0_GPIO0_DRIVE_VALUE_12MA

0 comments on commit f5bbf79

Please sign in to comment.