Normalise include statements in core code (#11153)
* Normalise include statements in core code * Missed one
This commit is contained in:
parent
5b5d74a267
commit
501f2fdef1
60 changed files with 99 additions and 79 deletions
|
@ -15,8 +15,8 @@
|
|||
*/
|
||||
|
||||
#include "audio.h"
|
||||
#include "ch.h"
|
||||
#include "hal.h"
|
||||
#include <ch.h>
|
||||
#include <hal.h>
|
||||
|
||||
#include <string.h>
|
||||
#include "print.h"
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
# include <avr/interrupt.h>
|
||||
# include <avr/pgmspace.h>
|
||||
#else
|
||||
# include "ch.h"
|
||||
# include "hal.h"
|
||||
# include <ch.h>
|
||||
# include <hal.h>
|
||||
#endif
|
||||
|
||||
#ifndef LUTS_H
|
||||
|
|
|
@ -15,10 +15,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#include <avr/interrupt.h>
|
||||
#include <avr/io.h>
|
||||
#include <timer.h>
|
||||
#include <fauxclicky.h>
|
||||
#include "timer.h"
|
||||
#include "fauxclicky.h"
|
||||
#include <stdbool.h>
|
||||
#include <musical_notes.h>
|
||||
#include "musical_notes.h"
|
||||
|
||||
bool fauxclicky_enabled = true;
|
||||
uint16_t note_start = 0;
|
||||
|
|
|
@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#endif
|
||||
|
||||
#include "musical_notes.h"
|
||||
#include "stdbool.h"
|
||||
#include <stdbool.h>
|
||||
|
||||
__attribute__((weak)) float fauxclicky_pressed_note[2] = MUSICAL_NOTE(_D4, 0.25);
|
||||
__attribute__((weak)) float fauxclicky_released_note[2] = MUSICAL_NOTE(_C4, 0.125);
|
||||
|
|
|
@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
# include <avr/pgmspace.h>
|
||||
#elif defined PROTOCOL_CHIBIOS
|
||||
// We need to ensure that chibios is include before redefining reset
|
||||
# include "ch.h"
|
||||
# include <ch.h>
|
||||
#endif
|
||||
#include "keycode.h"
|
||||
#include "action_macro.h"
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "inttypes.h"
|
||||
#include "stdint.h"
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include "process_key_lock.h"
|
||||
|
||||
#define BV_64(shift) (((uint64_t)1) << (shift))
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
# include <avr/interrupt.h>
|
||||
#endif
|
||||
#if defined(PROTOCOL_CHIBIOS)
|
||||
# include "hal.h"
|
||||
# include <hal.h>
|
||||
# include "chibios_config.h"
|
||||
#endif
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "lib/lib8tion/lib8tion.h"
|
||||
#include <lib/lib8tion/lib8tion.h>
|
||||
|
||||
#ifndef RGB_MATRIX_CENTER
|
||||
const point_t k_rgb_matrix_center = {112, 32};
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
# include "eeprom.h"
|
||||
#endif
|
||||
#ifdef STM32_EEPROM_ENABLE
|
||||
# include "hal.h"
|
||||
# include <hal.h>
|
||||
# include "eeprom_stm32.h"
|
||||
#endif
|
||||
#include "wait.h"
|
||||
|
@ -34,7 +34,7 @@
|
|||
#include "color.h"
|
||||
#include "debug.h"
|
||||
#include "led_tables.h"
|
||||
#include "lib/lib8tion/lib8tion.h"
|
||||
#include <lib/lib8tion/lib8tion.h>
|
||||
#ifdef VELOCIKEY_ENABLE
|
||||
# include "velocikey.h"
|
||||
#endif
|
||||
|
@ -983,7 +983,7 @@ void rgblight_task(void) {
|
|||
# ifndef RGBLIGHT_BREATHE_TABLE_SIZE
|
||||
# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256 or 128 or 64
|
||||
# endif
|
||||
# include <rgblight_breathe_table.h>
|
||||
# include "rgblight_breathe_table.h"
|
||||
# endif
|
||||
|
||||
__attribute__((weak)) const uint8_t RGBLED_BREATHING_INTERVALS[] PROGMEM = {30, 20, 10, 5};
|
||||
|
|
|
@ -24,7 +24,7 @@ SOFTWARE.
|
|||
#include "report.h"
|
||||
#include "host_driver.h"
|
||||
#include "serial_link/system/serial_link.h"
|
||||
#include "hal.h"
|
||||
#include <hal.h>
|
||||
#include "serial_link/protocol/byte_stuffer.h"
|
||||
#include "serial_link/protocol/transport.h"
|
||||
#include "serial_link/protocol/frame_router.h"
|
||||
|
|
|
@ -36,7 +36,7 @@ host_driver_t* get_serial_link_driver(void);
|
|||
void serial_link_update(void);
|
||||
|
||||
#if defined(PROTOCOL_CHIBIOS)
|
||||
# include "ch.h"
|
||||
# include <ch.h>
|
||||
|
||||
static inline void serial_link_lock(void) { chSysLock(); }
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#endif
|
||||
|
||||
#ifdef PROTOCOL_VUSB
|
||||
# include "usbdrv.h"
|
||||
# include <usbdrv/usbdrv.h>
|
||||
#endif
|
||||
|
||||
#ifdef EE_HANDS
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <common/matrix.h>
|
||||
#include "common/matrix.h"
|
||||
|
||||
void transport_master_init(void);
|
||||
void transport_slave_init(void);
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <tmk_core/common/eeconfig.h> // for EECONFIG_SIZE
|
||||
#include "tmk_core/common/eeconfig.h" // for EECONFIG_SIZE
|
||||
|
||||
// Keyboard level code can change where VIA stores the magic.
|
||||
// The magic is the build date YYMMDD encoded as BCD in 3 bytes,
|
||||
|
|
|
@ -24,7 +24,7 @@ SOFTWARE.
|
|||
|
||||
#ifndef LCD_BACKLIGHT_H_
|
||||
#define LCD_BACKLIGHT_H_
|
||||
#include "stdint.h"
|
||||
#include <stdint.h>
|
||||
|
||||
// Helper macros for storing hue, staturation and intensity as unsigned integers
|
||||
#define LCD_COLOR(hue, saturation, intensity) (hue << 16 | saturation << 8 | intensity)
|
||||
|
|
|
@ -22,7 +22,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|||
SOFTWARE.
|
||||
*/
|
||||
#include "gfx.h"
|
||||
#include "math.h"
|
||||
#include <math.h>
|
||||
#include "led_backlight_keyframes.h"
|
||||
|
||||
static uint8_t fade_led_color(keyframe_animation_t* animation, int from, int to) {
|
||||
|
|
|
@ -26,7 +26,7 @@ SOFTWARE.
|
|||
#include "visualizer.h"
|
||||
#include <string.h>
|
||||
#ifdef PROTOCOL_CHIBIOS
|
||||
# include "ch.h"
|
||||
# include <ch.h>
|
||||
#endif
|
||||
|
||||
#include "gfx.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue