lpcware

LPCopen 2.11 for 11U6x - variable uninitialized

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by bob_walker on Tue Aug 18 09:28:49 MST 2015
In the function 'Chip_UART0_SetBaudFDR(LPC_USART0_T *pUART, uint32_t baudrate)'
mval is unitialized. If  the test 'if (dval > 0)'  is false, then mval is used with an arbitrary value.
Not sure if this has been fixed.

Outcomes