]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
Refactoring uart interface (#341)
authorMichael Farrell <micolous+gh@gmail.com>
Wed, 5 Jul 2017 18:22:02 +0000 (04:22 +1000)
committerpwpiwi <pwpiwi@users.noreply.github.com>
Wed, 5 Jul 2017 18:22:02 +0000 (20:22 +0200)
* 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.


No differences found
Impressum, Datenschutz