fossasia / pslab-firmware

Firmware for PSLab Open Hardware Platform https://pslab.io
Apache License 2.0
1.56k stars 76 forks source link

Fix UART2 pins not matching labels #178

Closed bessman closed 2 months ago

bessman commented 2 months ago

Fix #177

Summary by Sourcery

Fix UART2 pin assignments to ensure they match the correct labels, addressing the mismatch issue in the pin manager configuration.

Bug Fixes:

sourcery-ai[bot] commented 2 months ago

Reviewer's Guide by Sourcery

This pull request fixes an issue where the UART2 pins were not matching their labels. The changes involve swapping the pin assignments for UART2_RX and UART2_TX in both the pin manager header and source files.

File-Level Changes

Files Changes
src/registers/system/pin_manager.h Swapped UART2_RX and UART2_TX pin definitions in the pin manager header
src/registers/system/pin_manager.c Updated UART2 pin mappings in the PIN_MANAGER_Initialize function

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.