1
0
Fork 0
forked from forks/qmk_firmware

analog.[ch]: remove unnecessary includes (#16471)

This commit is contained in:
Ryan 2022-03-04 14:56:59 +11:00 committed by GitHub
parent aab2ac22c5
commit d412854e37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 6 deletions

View file

@ -18,6 +18,8 @@
#include "analog.h" #include "analog.h"
#include "gpio.h" #include "gpio.h"
#include "wait.h" #include "wait.h"
#include "timer.h"
#include <stdlib.h>
// Set Parameters // Set Parameters
uint16_t minAxisValue = ANALOG_JOYSTICK_AXIS_MIN; uint16_t minAxisValue = ANALOG_JOYSTICK_AXIS_MIN;

View file

@ -14,9 +14,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <avr/io.h>
#include <avr/pgmspace.h>
#include <stdint.h>
#include "analog.h" #include "analog.h"
static uint8_t aref = ADC_REF_POWER; static uint8_t aref = ADC_REF_POWER;

View file

@ -17,7 +17,7 @@
#pragma once #pragma once
#include <stdint.h> #include <stdint.h>
#include "quantum.h" #include "gpio.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View file

@ -14,7 +14,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "quantum.h"
#include "analog.h" #include "analog.h"
#include <ch.h> #include <ch.h>
#include <hal.h> #include <hal.h>

View file

@ -17,7 +17,7 @@
#pragma once #pragma once
#include <stdint.h> #include <stdint.h>
#include "quantum.h" #include "gpio.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {