hal_tick.h changed for the L432KC target in TARGET/../device/ in order to reassign the system ticker from TIM2 to TIM7, since TIM2 was needed as a 32bit encoder counter.
Dependents: Nucleo_L432KC_Quadrature_Decoder_with_ADC_and_DAC
Fork of mbed-dev by
Diff: targets/TARGET_Maxim/TARGET_MAX32620/serial_api.c
- Revision:
- 153:fa9ff456f731
- Parent:
- 149:156823d33999
--- a/targets/TARGET_Maxim/TARGET_MAX32620/serial_api.c Thu Dec 15 11:48:27 2016 +0000 +++ b/targets/TARGET_Maxim/TARGET_MAX32620/serial_api.c Tue Dec 20 17:27:56 2016 +0000 @@ -323,7 +323,7 @@ //****************************************************************************** int serial_readable(serial_t *obj) { - return (obj->uart->intfl & MXC_F_UART_INTFL_RX_FIFO_NOT_EMPTY); + return (obj->uart->rx_fifo_ctrl & MXC_F_UART_RX_FIFO_CTRL_FIFO_ENTRY); } //******************************************************************************