Unverified Commit cc800713 authored by Earle F. Philhower, III's avatar Earle F. Philhower, III Committed by GitHub

Minor clean up includes (#1520)

parent c6a0d6ec
...@@ -6,10 +6,9 @@ ...@@ -6,10 +6,9 @@
SPDX-License-Identifier: BSD-3-Clause SPDX-License-Identifier: BSD-3-Clause
*/ */
#include "pico.h" #include <pico/time.h>
#include "pico/time.h" #include <pico/bootrom.h>
#include "pico/bootrom.h" #include <pico/binary_info.h>
#include "pico/binary_info.h"
// PICO_CONFIG: PICO_BOOTSEL_VIA_DOUBLE_RESET_TIMEOUT_MS, Window of opportunity for a second press of a reset button to enter BOOTSEL mode (milliseconds), type=int, default=200, group=pico_bootsel_via_double_reset // PICO_CONFIG: PICO_BOOTSEL_VIA_DOUBLE_RESET_TIMEOUT_MS, Window of opportunity for a second press of a reset button to enter BOOTSEL mode (milliseconds), type=int, default=200, group=pico_bootsel_via_double_reset
#ifndef PICO_BOOTSEL_VIA_DOUBLE_RESET_TIMEOUT_MS #ifndef PICO_BOOTSEL_VIA_DOUBLE_RESET_TIMEOUT_MS
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
*/ */
#include <Arduino.h> #include <Arduino.h>
#include "hardware/dma.h" #include <hardware/dma.h>
#include "hardware/irq.h" #include <hardware/irq.h>
#include "AudioBufferManager.h" #include "AudioBufferManager.h"
static int __channelCount = 0; // # of channels left. When we hit 0, then remove our handler static int __channelCount = 0; // # of channels left. When we hit 0, then remove our handler
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#pragma once #pragma once
#include <Arduino.h> #include <Arduino.h>
#include "hardware/dma.h" #include <hardware/dma.h>
class AudioBufferManager { class AudioBufferManager {
public: public:
......
...@@ -5,11 +5,11 @@ ...@@ -5,11 +5,11 @@
#include "OpenPDMFilter.h" #include "OpenPDMFilter.h"
extern "C" { extern "C" {
#include "hardware/pio.h" #include <hardware/pio.h>
#include "hardware/dma.h" #include <hardware/dma.h>
#include "hardware/clocks.h" #include <hardware/clocks.h>
} }
#include "hardware/sync.h" #include <hardware/sync.h>
#include "pdm.pio.h" #include "pdm.pio.h"
static PIOProgram _pdmPgm(&pdm_pio_program); static PIOProgram _pdmPgm(&pdm_pio_program);
......
...@@ -20,10 +20,10 @@ ...@@ -20,10 +20,10 @@
#include "CYW43shim.h" #include "CYW43shim.h"
extern "C" { extern "C" {
#include "cyw43.h" #include <cyw43.h>
#include "cyw43_stats.h" #include <cyw43_stats.h>
} }
#include "pico/cyw43_arch.h" #include <pico/cyw43_arch.h>
#include <Arduino.h> #include <Arduino.h>
// From cyw43_ctrl.c // From cyw43_ctrl.c
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment