generated from Template/H563ZI-HAL-CMake-Template
加入Buzzer,Shake_Motor,Ultrasound
This commit is contained in:
@@ -30,12 +30,13 @@ extern "C" {
|
||||
|
||||
/* Private includes ----------------------------------------------------------*/
|
||||
/* USER CODE BEGIN Includes */
|
||||
|
||||
#include "headfile.h"
|
||||
/* USER CODE END Includes */
|
||||
|
||||
/* Exported types ------------------------------------------------------------*/
|
||||
/* USER CODE BEGIN ET */
|
||||
|
||||
//extern MotorCommand current_motor_cmd;
|
||||
/* USER CODE END ET */
|
||||
|
||||
/* Exported constants --------------------------------------------------------*/
|
||||
@@ -46,7 +47,17 @@ extern "C" {
|
||||
/* Private defines -----------------------------------------------------------*/
|
||||
|
||||
/* USER CODE BEGIN PD */
|
||||
// <20>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD>define
|
||||
#define EVENT_OBSTACLE_DETECTED 0x01
|
||||
#define EVENT_GPS_DATA_READY 0x02
|
||||
#define EVENT_BLE_COMMAND_RECEIVED 0x04
|
||||
#define IMU_UPDATE_EVENT 0x08
|
||||
#define EVENT_LOCATION_UPDATED 0x10
|
||||
|
||||
// <20><><EFBFBD>ڳ<EFBFBD><DAB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܻ<EFBFBD><DCBB><EFBFBD><EFBFBD><EFBFBD>ȥ 0x20 ?
|
||||
extern TX_QUEUE ble_tx_queue;
|
||||
extern TX_EVENT_FLAGS_GROUP system_events;
|
||||
extern MotorCommand current_motor_cmd;
|
||||
/* USER CODE END PD */
|
||||
|
||||
/* Main thread defines -------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user