Skip to content

Commit 7090f68

Browse files
Fix SPISlave interrupt attach's 2nd parameter
1 parent 87a9a50 commit 7090f68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libraries/SPISlave/src/hspi_slave.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ static void (*_hspi_slave_rx_status_cb)(void * arg, uint32_t data) = NULL;
2828
static void (*_hspi_slave_tx_status_cb)(void * arg) = NULL;
2929
static uint8_t _hspi_slave_buffer[33];
3030

31-
void ICACHE_RAM_ATTR _hspi_slave_isr_handler(void *arg)
31+
void ICACHE_RAM_ATTR _hspi_slave_isr_handler(void *arg, void *frame)
3232
{
33+
(void) frame;
3334
uint32_t status;
3435
uint32_t istatus;
3536

0 commit comments

Comments
 (0)