[riot-commits] [RIOT-OS/RIOT] 501b25: tests/periph_uart: fix baudrate truncation

Alexandre Abadie alexandre.abadie at inria.fr
Thu Jan 3 18:43:38 CET 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 501b257223b7718d00e61996b86f925579e641a5
      https://github.com/RIOT-OS/RIOT/commit/501b257223b7718d00e61996b86f925579e641a5
  Author: MrKevinWeiss <weiss.kevin604 at gmail.com>
  Date:   2019-01-03 (Thu, 03 Jan 2019)

  Changed paths:
    M tests/periph_uart/main.c

  Log Message:
  -----------
  tests/periph_uart: fix baudrate truncation

Since some boards an int is 16 bits the atoi truncates values.
This commit using a long instead of an int.


  Commit: 5072acc8b81e378f503fc016db4302712e1531ae
      https://github.com/RIOT-OS/RIOT/commit/5072acc8b81e378f503fc016db4302712e1531ae
  Author: Alexandre Abadie <alexandre.abadie at inria.fr>
  Date:   2019-01-03 (Thu, 03 Jan 2019)

  Changed paths:
    M tests/periph_uart/main.c

  Log Message:
  -----------
  Merge pull request #10698 from MrKevinWeiss/pr/fixsetbaudrate

tests/periph_uart: fix baudrate truncation


Compare: https://github.com/RIOT-OS/RIOT/compare/f475f1cc1884...5072acc8b81e
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the commits mailing list