RIOT-OS / RobotFW-tests

Includes tests for RIOT based on the Robot Framework
GNU Lesser General Public License v2.1
4 stars 13 forks source link

fix(periph_timer): Fix casting issues in periph timer #47

Closed MrKevinWeiss closed 4 years ago

MrKevinWeiss commented 4 years ago

Description

The esp32* seems to have some issues with bool type and what an unsigned long is. Since bool types are being used, the stdbool is included. Also since the port and pin type are defined as uint32_t, the call should be specifically for uint32_t.

Testing Procedure

BOARD=esp32-wroom-32 make all -C tests/periph_timer

It will fail in master and this PR fixes it.