Casting in opentimer.

Description

Operating with 16bit timer and compiling on 32bit architecture (ARM Cortex-M4) a default casting is done in variable instruction in opentimers.c so the overflow arithmetics does no work properly.

Environment

Windows 10, compiler GNU arm-none-eabi, version: 4.9

Status

Assignee

Unassigned

Reporter

Mateusz Kubaszek

Labels

None

Story Points

None

Time tracking

16h

Affects versions

1.12.0

Priority

Minor