From 062c63ef6575adc4cd8b7a0f8950db3887f3441a Mon Sep 17 00:00:00 2001 From: Hideaki Tai Date: Wed, 7 Feb 2024 18:21:24 +0900 Subject: [PATCH] refactor: reduce stack size of spi task --- ESP32SPISlave.h | 2 +- library.json | 2 +- library.properties | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ESP32SPISlave.h b/ESP32SPISlave.h index 989acaa..4f10e7a 100644 --- a/ESP32SPISlave.h +++ b/ESP32SPISlave.h @@ -25,7 +25,7 @@ ARDUINO_ESP32_SPI_SLAVE_NAMESPACE_BEGIN static constexpr const char *TAG = "ESP32SPISlave"; -static constexpr int SPI_SLAVE_TASK_STASCK_SIZE = 1024 * 4; +static constexpr int SPI_SLAVE_TASK_STASCK_SIZE = 1024 * 2; static constexpr int SPI_SLAVE_TASK_PRIORITY = 5; static constexpr int SLAVE_QUEUE_TRANS_TIMEOUT_TICKS = pdMS_TO_TICKS(5000); diff --git a/library.json b/library.json index 71814af..ef1feec 100644 --- a/library.json +++ b/library.json @@ -13,7 +13,7 @@ "url": "https://github.com/hideakitai", "maintainer": true }, - "version": "0.4.0", + "version": "0.4.1", "license": "MIT", "frameworks": "arduino", "platforms": "*" diff --git a/library.properties b/library.properties index c12292c..8d07364 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=ESP32SPISlave -version=0.4.0 +version=0.4.1 author=hideakitai maintainer=hideakitai sentence=SPI Slave library for ESP32