From: Tilman Sauerbeck Date: Wed, 8 Jan 2020 17:30:19 +0000 (+0100) Subject: common: Make Gps::update() access UART0's receive buffer via a closure. X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=2c21f04d5a34595ced62860d8273dec306f6a4d6;hp=2c21f04d5a34595ced62860d8273dec306f6a4d6;p=gps-watch.git common: Make Gps::update() access UART0's receive buffer via a closure. This will allow us to write tests for Gps without providing a fake implementation of the UART reader function in the test. ---