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

SPI: fix annoying unused variables warnings #653

Merged
merged 2 commits into from
Sep 14, 2019

Commits on Jul 29, 2019

  1. SPI: fix annoying unused variables warnings

    - use const for ff variable to avoid unused variable on each SPI.h include
    - move the spi_this refs where its used...
    - and also the 3 others ones :
    
    STM32F1\libraries\SPI\src\SPI.cpp:784:12
      warning: enumeration value 'RCC_AHB' not handled in switch [-Wswitch]
    
    STM32F1\libraries\SPI\src\SPI.cpp:392:5:
      warning: this 'while' clause does not guard... [-Wmisleading-indentation]
    
    Sample use : https://travis-ci.org/MarlinFirmware/Marlin/jobs/564740480
    tpruvot committed Jul 29, 2019
    Configuration menu
    Copy the full SHA
    920b075 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2019

  1. Configuration menu
    Copy the full SHA
    0a38da7 View commit details
    Browse the repository at this point in the history