diff options
| author | Yucai Liu <[email protected]> | 2025-10-12 21:03:23 +0800 |
|---|---|---|
| committer | R b b666 <[email protected]> | 2025-10-21 10:28:06 +0800 |
| commit | 982e52e200dc1416ca3b871f1c74557d6a98d8c0 (patch) | |
| tree | b4e1bcda3fa5744674f9d3e814c870d19db80ee7 /documentation/3.kernel/basic | |
| parent | d3e0a532036c0031c2a000cdc14e536e747abbfd (diff) | |
[bsp/nxp/mcx/mcxa] Fix UART clock configuration type mismatch
Fixed implicit type conversion warning in UART driver by correctly
separating clock_name_t and clock_attach_id_t enum types.
Changes:
- Use kCLOCK_Fro12M (clock_name_t) for clock_src field
- Keep kFRO12M_to_LPUARTx (clock_attach_id_t) for clock_attach_id field
- Fix mcx_getc() to use correct status flag kLPUART_RxDataRegFullFlag
This resolves the compiler warning:
"implicit conversion from 'int' to 'clock_name_t' changes value from 16777216 to 0"
Signed-off-by: Yucai Liu [email protected]
Diffstat (limited to 'documentation/3.kernel/basic')
0 files changed, 0 insertions, 0 deletions
