mirror of
https://github.com/candle-usb/candleLight_fw.git
synced 2025-01-14 05:42:53 +08:00
treewide: sort includes
This commit is contained in:
parent
f4f1586dbf
commit
e27abfe173
@ -29,9 +29,8 @@ THE SOFTWARE.
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "hal_include.h"
|
||||
|
||||
#include "gs_usb.h"
|
||||
#include "hal_include.h"
|
||||
|
||||
typedef struct {
|
||||
CAN_TypeDef *instance;
|
||||
|
@ -28,11 +28,12 @@ THE SOFTWARE.
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include "usbd_def.h"
|
||||
#include "queue.h"
|
||||
#include "led.h"
|
||||
|
||||
#include "can.h"
|
||||
#include "gs_usb.h"
|
||||
#include "led.h"
|
||||
#include "queue.h"
|
||||
#include "usbd_def.h"
|
||||
|
||||
/* Define these here so they can be referenced in other files */
|
||||
|
||||
|
16
src/main.c
16
src/main.c
@ -28,20 +28,20 @@ THE SOFTWARE.
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "can.h"
|
||||
#include "config.h"
|
||||
#include "dfu.h"
|
||||
#include "gpio.h"
|
||||
#include "gs_usb.h"
|
||||
#include "hal_include.h"
|
||||
#include "led.h"
|
||||
#include "queue.h"
|
||||
#include "timer.h"
|
||||
#include "usbd_conf.h"
|
||||
#include "usbd_core.h"
|
||||
#include "usbd_def.h"
|
||||
#include "usbd_desc.h"
|
||||
#include "usbd_core.h"
|
||||
#include "usbd_gs_can.h"
|
||||
#include "gpio.h"
|
||||
#include "queue.h"
|
||||
#include "gs_usb.h"
|
||||
#include "can.h"
|
||||
#include "led.h"
|
||||
#include "dfu.h"
|
||||
#include "timer.h"
|
||||
#include "util.h"
|
||||
|
||||
void HAL_MspInit(void);
|
||||
|
@ -24,22 +24,23 @@ THE SOFTWARE.
|
||||
|
||||
*/
|
||||
|
||||
#include "usbd_gs_can.h"
|
||||
#include "config.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "hal_include.h"
|
||||
#include "usbd_desc.h"
|
||||
#include "usbd_core.h"
|
||||
#include "usbd_def.h"
|
||||
#include "usbd_ctlreq.h"
|
||||
#include "usbd_ioreq.h"
|
||||
#include "gs_usb.h"
|
||||
|
||||
#include "can.h"
|
||||
#include "config.h"
|
||||
#include "gpio.h"
|
||||
#include "gs_usb.h"
|
||||
#include "hal_include.h"
|
||||
#include "led.h"
|
||||
#include "queue.h"
|
||||
#include "gpio.h"
|
||||
#include "timer.h"
|
||||
#include "usbd_core.h"
|
||||
#include "usbd_ctlreq.h"
|
||||
#include "usbd_def.h"
|
||||
#include "usbd_desc.h"
|
||||
#include "usbd_gs_can.h"
|
||||
#include "usbd_ioreq.h"
|
||||
#include "util.h"
|
||||
|
||||
typedef struct {
|
||||
|
Loading…
x
Reference in New Issue
Block a user