Skip to content

Commit

Permalink
Fix compile warning and set correct order in module LROT (#2996)
Browse files Browse the repository at this point in the history
  • Loading branch information
galjonsfigur authored and marcelstoer committed Jan 3, 2020
1 parent 8c08e76 commit 5278944
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/modules/softuart.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ softuart_t * softuart_gpio_instances[SOFTUART_GPIO_COUNT] = {NULL};
// Array of callback reference to be able to find which callback is used to which rx pin
static int softuart_rx_cb_ref[SOFTUART_GPIO_COUNT];
// Task for receiving data
static task_handle_t uart_recieve_task = NULL;
static task_handle_t uart_recieve_task = 0;
// Receiving buffer for callback usage
static char softuart_rx_buffer[SOFTUART_MAX_RX_BUFF];

Expand Down Expand Up @@ -388,8 +388,8 @@ static int softuart_gcdelete(lua_State *L)
// Port function map
LROT_BEGIN(softuart_port)
LROT_FUNCENTRY( on, softuart_on)
LROT_TABENTRY( __index, softuart_port)
LROT_FUNCENTRY( write, softuart_write)
LROT_TABENTRY( __index, softuart_port)
LROT_FUNCENTRY( __gc, softuart_gcdelete)
LROT_END(ads1115, softuart_port, LROT_MASK_GC_INDEX)

Expand Down

0 comments on commit 5278944

Please sign in to comment.