stm32-rs / stm32g0xx-hal

Peripheral access API for STM32G0 series microcontrollers
Apache License 2.0
73 stars 51 forks source link

Fix `is_pending` Logical Error #144

Closed AdinAck closed 5 months ago

AdinAck commented 5 months ago

When checking for the edge event, SignalEdge::All required the event to be both rising and falling, when in reality it should be either rising or falling.

A simple fix from && to ||.

Tested with RTIC on STM32g031K8.

andresv commented 5 months ago

@dotcypress do you know if those CI errors are because of newer rust version?

dotcypress commented 5 months ago

@AdinAck thank you! 👍