summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-07-10 15:18:55 +1000
committerjacqueline <me@jacqueline.id.au>2024-07-10 15:18:55 +1000
commitb63e897268bdbaa679cc68b6c9586ba4d5520b45 (patch)
tree49e66bdee01a90606a629357eecb108f011a844a /src
parent11bddb1b1da603a7d6c0e9f239eb89fb724be08e (diff)
downloadtangara-fw-b63e897268bdbaa679cc68b6c9586ba4d5520b45.tar.gz
Move the SPI interrupt alloc to the second core
We're a bit close to the line on core0 allocs, so this helps balance things out a bit.
Diffstat (limited to 'src')
-rw-r--r--src/drivers/spi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/spi.cpp b/src/drivers/spi.cpp
index 632fe89f..40487197 100644
--- a/src/drivers/spi.cpp
+++ b/src/drivers/spi.cpp
@@ -41,7 +41,7 @@ esp_err_t init_spi(void) {
// manages its own use of DMA-capable memory.
.max_transfer_sz = 4096,
.flags = SPICOMMON_BUSFLAG_MASTER | SPICOMMON_BUSFLAG_IOMUX_PINS,
- .isr_cpu_id = ESP_INTR_CPU_AFFINITY_0,
+ .isr_cpu_id = ESP_INTR_CPU_AFFINITY_1,
.intr_flags = ESP_INTR_FLAG_LOWMED | ESP_INTR_FLAG_IRAM,
};