mirror of
				https://github.com/manuelbl/ttn-esp32.git
				synced 2025-10-31 18:50:33 +01:00 
			
		
		
		
	Improve SPI robustness (fix incompatibility with ESP32-S2)
This commit is contained in:
		| @ -34,8 +34,8 @@ const char *appKey = "????????????????????????????????"; | ||||
|  | ||||
|  | ||||
| // Pins and other resources | ||||
| #define TTN_SPI_HOST      HSPI_HOST | ||||
| #define TTN_SPI_DMA_CHAN  1 | ||||
| #define TTN_SPI_HOST      SPI2_HOST | ||||
| #define TTN_SPI_DMA_CHAN  SPI_DMA_DISABLED | ||||
| #define TTN_PIN_SPI_SCLK  5 | ||||
| #define TTN_PIN_SPI_MOSI  27 | ||||
| #define TTN_PIN_SPI_MISO  19 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user