Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hardfault when attaching callback to CAN2 when CAN1 is not defined #63

Merged
merged 1 commit into from
Sep 10, 2013
Merged

Fix hardfault when attaching callback to CAN2 when CAN1 is not defined #63

merged 1 commit into from
Sep 10, 2013

Commits on Sep 9, 2013

  1. Fix hardfault when attaching callback to CAN2 when CAN1 is not defined

    Fault is triggered by trying to read LPC_CAN1->IER when the peripheral is powered off. Fixed by checking the power control register before checking the IER register.
    omdathetkan committed Sep 9, 2013
    Configuration menu
    Copy the full SHA
    efd3d8d View commit details
    Browse the repository at this point in the history