From: Michael Farrell Date: Wed, 5 Jul 2017 18:22:02 +0000 (+1000) Subject: Refactoring uart interface (#341) X-Git-Tag: v3.1.0~192 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/067bfc8b762f86d5ebb65ecca9e1ba3a304ecd84?ds=inline;hp=067bfc8b762f86d5ebb65ecca9e1ba3a304ecd84 Refactoring uart interface (#341) * uart: Major cleanups - Adds documentation to the uart API. - Fixes a buffer overflow issue in `uart_receive`, where the maximum parameter was ignored. - Splits the maximum length and bytes recieved variables in `uart_receive`. - Downsizes the receive buffer to the minimum required, saving 16MiB of RAM at runtime. - Refactors the POSIX and Win32 implementations of uart into separate files. - Removes the unused `uart_{get,set}_parity` functions, which were not implemented on Win32. ---