add compatibility under LINUX

This commit is contained in:
NeoZng
2022-12-12 22:29:51 +08:00
parent 2f41e67de0
commit 94499150bc
16 changed files with 16 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
#ifndef BSP_BUZZER_H
#define BSP_BUZZER_H
#include <stdint-gcc.h>
#include <stdint.h>
void BuzzerInit();
extern void BuzzerOn(uint16_t psc, uint16_t pwm, uint8_t level);

View File

@@ -1,7 +1,7 @@
#ifndef BSP_CAN_H
#define BSP_CAN_H
#include <stdint-gcc.h>
#include <stdint.h>
#include "can.h"
#define MX_REGISTER_DEVICE_CNT 12 // maximum number of device can be registered to CAN service

View File

@@ -1,7 +1,7 @@
#ifndef BSP_LED_H
#define BSP_LED_H
#include <stdint-gcc.h>
#include <stdint.h>
void LEDInit();
extern void FlowRGBShow(uint32_t aRGB);

View File

@@ -1,7 +1,7 @@
#ifndef BSP_RC_H
#define BSP_RC_H
#include <stdint-gcc.h>
#include <stdint.h>
#include "main.h"
#define DEVICE_USART_CNT 3 // C板至多分配3个串口