send-my icon indicating copy to clipboard operation
send-my copied to clipboard

Fixed compilation error

Open alex-bellon opened this issue 3 years ago • 0 comments

Fix error during build:

 send-my/Firmware/ESP32/main/openhaystack_main.c:227:77: error: 'portTICK_RATE_MS' undeclared (first use in this function); did you mean 'portTICK_PERIOD_MS'?
        227 |         size = uart_read_bytes(UART_PORT_NUM, (unsigned char *)ptr, 1, 20 / portTICK_RATE_MS);
            |                                                                             ^~~~~~~~~~~~~~~~
            |                                                                             portTICK_PERIOD_MS

alex-bellon avatar Jul 19 '22 22:07 alex-bellon