[riot-commits] [RIOT-OS/RIOT] d9049d: isrpipe: change API to be in line with `tsrb`

Martine Lenders noreply at github.com
Thu Jun 6 12:49:26 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: d9049dad87d962675b4c762914612fba968b60cb
      https://github.com/RIOT-OS/RIOT/commit/d9049dad87d962675b4c762914612fba968b60cb
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2019-06-05 (Wed, 05 Jun 2019)

  Changed paths:
    M sys/include/isrpipe.h
    M sys/include/isrpipe/read_timeout.h
    M sys/isrpipe/isrpipe.c
    M sys/isrpipe/read_timeout/read_timeout.c

  Log Message:
  -----------
  isrpipe: change API to be in line with `tsrb`

The API of `tsrb` was changed because of confusing type situations.
This API change takes this API change of changing `char` to `uint8_t`
up a level. Since `isrpipe` most often is used together with
`periph_uart` this change even is beneficial, as `periph_uart` also
uses `uint8_t` instead of `char`.


  Commit: b1bfd70e54b1992125fe2116b69c88572b89f896
      https://github.com/RIOT-OS/RIOT/commit/b1bfd70e54b1992125fe2116b69c88572b89f896
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2019-06-05 (Wed, 05 Jun 2019)

  Changed paths:
    M sys/stdio_uart/stdio_uart.c

  Log Message:
  -----------
  stdio_uart: adapt for isrpipe API change


  Commit: 937d99b5c804a0a7529aa234eab10c9bb4273654
      https://github.com/RIOT-OS/RIOT/commit/937d99b5c804a0a7529aa234eab10c9bb4273654
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2019-06-05 (Wed, 05 Jun 2019)

  Changed paths:
    M sys/include/tsrb.h

  Log Message:
  -----------
  tsrb: remove implicit cast in TEST_INIT() macro


  Commit: 8cf4bc178cdb0001f7fd4b8f4d1f4c2a3b4bd4d4
      https://github.com/RIOT-OS/RIOT/commit/8cf4bc178cdb0001f7fd4b8f4d1f4c2a3b4bd4d4
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2019-06-05 (Wed, 05 Jun 2019)

  Changed paths:
    M drivers/at/at.c

  Log Message:
  -----------
  at: adapt for isrpipe API type change


  Commit: 82278e808ecef9f5af2ea85ff5a625293104d0ef
      https://github.com/RIOT-OS/RIOT/commit/82278e808ecef9f5af2ea85ff5a625293104d0ef
  Author: Martine Lenders <mail at martine-lenders.eu>
  Date:   2019-06-06 (Thu, 06 Jun 2019)

  Changed paths:
    M drivers/at/at.c
    M sys/include/isrpipe.h
    M sys/include/isrpipe/read_timeout.h
    M sys/include/tsrb.h
    M sys/isrpipe/isrpipe.c
    M sys/isrpipe/read_timeout/read_timeout.c
    M sys/stdio_uart/stdio_uart.c

  Log Message:
  -----------
  Merge pull request #11637 from miri64/isrpipe/fix/change-api-types

isrpipe: change API to be in line with `tsrb`


Compare: https://github.com/RIOT-OS/RIOT/compare/7e7e17c33fd8...82278e808ece


More information about the commits mailing list