Fixed atomic, working on uart0 interrupt.