Skip to content

Commit

Permalink
Version 1.4.0(cb4060d9)
Browse files Browse the repository at this point in the history
1. fix a bug in wifi_send_pkt_freedom;
2. modify driver code due to _xt_isr_attach parameter changed;
  • Loading branch information
Espressif Systems committed Mar 1, 2016
1 parent 55de019 commit efd2819
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/driver_lib/driver/hw_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ typedef enum { // timer interrupt mode

static void (* user_hw_timer_cb)(void) = NULL;

static void hw_timer_isr_cb(void)
static void hw_timer_isr_cb(void *arg)
{
if (user_hw_timer_cb != NULL) {
(*(user_hw_timer_cb))();
Expand Down
6 changes: 3 additions & 3 deletions examples/driver_lib/driver/uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ uart0_write_char(char c)
}

LOCAL void
uart_rx_intr_handler_ssc(void)
uart_rx_intr_handler_ssc(void *arg)
{
/* uart0 and uart1 intr combine togther, when interrupt occur, see reg 0x3ff20020, bit2, bit0 represents
* uart1 and uart0 respectively
Expand Down Expand Up @@ -117,7 +117,7 @@ uart_config(uint8 uart_no, UartDevice *uart)
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO2_U, FUNC_U1TXD_BK);
} else {
/* rcv_buff size if 0x100 */
_xt_isr_attach(ETS_UART_INUM, uart_rx_intr_handler_ssc);
_xt_isr_attach(ETS_UART_INUM, uart_rx_intr_handler_ssc, NULL);
PIN_PULLUP_DIS(PERIPHS_IO_MUX_U0TXD_U);
PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0TXD_U, FUNC_U0TXD);
}
Expand Down Expand Up @@ -421,7 +421,7 @@ uart_init_new(void)
UART_IntrConfig(UART0, &uart_intr);

UART_SetPrintPort(UART0);
UART_intr_handler_register(uart0_rx_intr_handler);
UART_intr_handler_register(uart0_rx_intr_handler, NULL);
ETS_UART_INTR_ENABLE();

/*
Expand Down
Binary file modified lib/libmain.a
Binary file not shown.
Binary file modified lib/libnet80211.a
Binary file not shown.

0 comments on commit efd2819

Please sign in to comment.