fix(core/usbh_core): check hport is valid in usbh_control_transfer #197
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Cppcheck action | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build: | |
| name: cppcheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: cppcheck | |
| shell: bash | |
| run: | | |
| sudo apt install cppcheck | |
| cppcheck --enable=warning,portability,performance --language=c --platform=unix32 --std=c99 --force . -i third_party/ -i class/template -i port/template/ |