Skip to content

Commit

Permalink
Merge pull request #28 from hideakitai/refactor/reduce-stack-size-of-…
Browse files Browse the repository at this point in the history
…spi-task

refactor: reduce stack size of spi task
  • Loading branch information
hideakitai committed Feb 7, 2024
2 parents 6af5f3d + 062c63e commit 10eb7f9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ESP32SPISlave.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"url": "https://github.com/hideakitai",
"maintainer": true
},
"version": "0.4.0",
"version": "0.4.1",
"license": "MIT",
"frameworks": "arduino",
"platforms": "*"
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=ESP32SPISlave
version=0.4.0
version=0.4.1
author=hideakitai
maintainer=hideakitai
sentence=SPI Slave library for ESP32
Expand Down

0 comments on commit 10eb7f9

Please sign in to comment.