utzig / ChibiOS-Kinetis

Kinetis port of ChibiOS/RT 2.6.x
GNU General Public License v3.0
7 stars 2 forks source link

Fix UARTx_S1 flag clearing in serial_lld.c. #3

Closed cdbennett closed 11 years ago

cdbennett commented 11 years ago

The flags in S1 are write-1-to-clear, so the |= operation was actually clearing all set flags in the S1 register regardless.