[riot-commits] [RIOT-OS/RIOT] 6f78a7: stm32_common: i2c_2: fix for -Wunused-function

Martine Lenders authmillenon at gmail.com
Fri Aug 3 18:43:08 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 6f78a7f3310f5da918dd6463e5e3d3511a8400a7
      https://github.com/RIOT-OS/RIOT/commit/6f78a7f3310f5da918dd6463e5e3d3511a8400a7
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2018-08-03 (Fri, 03 Aug 2018)

  Changed paths:
    M cpu/stm32_common/periph/i2c_2.c

  Log Message:
  -----------
  stm32_common: i2c_2: fix for -Wunused-function

This came up when compiling an application for a STM32-based board
with LLVM/clang. The function is not used if I²C is not provided.


  Commit: 233935c539457a3360c0a6e680215eb98fd35fba
      https://github.com/RIOT-OS/RIOT/commit/233935c539457a3360c0a6e680215eb98fd35fba
  Author: Martine Lenders <authmillenon at gmail.com>
  Date:   2018-08-03 (Fri, 03 Aug 2018)

  Changed paths:
    M cpu/stm32_common/periph/i2c_2.c

  Log Message:
  -----------
  Merge pull request #9700 from miri64/stm32_common/fix/unused-function

stm32_common: i2c_2: fix for -Wunused-function


Compare: https://github.com/RIOT-OS/RIOT/compare/64ee9f00886a...233935c53945
      **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