update 1.8

This commit is contained in:
qiyongshuang
2023-09-06 10:08:11 +08:00
parent b79c6ac80d
commit 64be955461
760 changed files with 42517 additions and 30957 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
/********************************** (C) COPYRIGHT *******************************
* File Name : RingMem.C
* Author : Hikari
* Author : WCH
* Version : V1.4
* Date : 2019/12/20
* Description :
-13
View File
@@ -22,7 +22,6 @@
void NMI_Handler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
void HardFault_Handler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
void BB_IRQHandler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
void LLE_IRQHandler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
/*********************************************************************
* @fn NMI_Handler
@@ -60,15 +59,3 @@ void BB_IRQHandler(void)
{
BB_IRQLibHandler();
}
/*********************************************************************
* @fn LLE_IRQHandler
*
* @brief LLE Interrupt for BLE.
*
* @return None
*/
void LLE_IRQHandler(void)
{
LLE_IRQLibHandler();
}
@@ -909,7 +909,7 @@ void DevEP2_OUT_Deal(UINT8 l)
{
PRINT("RingMemBLE ERR \n");
}
tmos_start_task(Peripheral_TaskID, SBP_PROCESS_USBDATA_EVT, 32);
tmos_set_event(Peripheral_TaskID, SBP_PROCESS_USBDATA_EVT);
}
/*********************************************************************
+1 -1
View File
@@ -1,6 +1,6 @@
/********************************** (C) COPYRIGHT *******************************
* File Name : RingMem.h
* Author : Hikari
* Author : WCH
* Version : V1.4
* Date : 2019/12/20
* Description :
+3 -2
View File
@@ -159,7 +159,8 @@ int RingMem_Protection(uint8_t enable);
static gapRolesCBs_t Peripheral_PeripheralCBs = {
peripheralStateNotificationCB, // Profile State Change Callbacks
peripheralRssiCB, // When a valid RSSI is read from controller (not used by application)
peripheralParamUpdateCB};
peripheralParamUpdateCB
};
// Broadcast Callbacks
static gapRolesBroadcasterCBs_t Broadcaster_BroadcasterCBs = {
@@ -214,7 +215,7 @@ void Peripheral_Init()
}
// Set the GAP Characteristics
GGS_SetParameter(GGS_DEVICE_NAME_ATT, GAP_DEVICE_NAME_LEN, attDeviceName);
GGS_SetParameter(GGS_DEVICE_NAME_ATT, sizeof(attDeviceName), attDeviceName);
{
uint16_t advInt = DEFAULT_ADVERTISING_INTERVAL;
@@ -53,6 +53,7 @@ void Main_Circulation(void)
*/
int main(void)
{
SystemCoreClockUpdate();
Delay_Init();
#ifdef DEBUG
USART_Printf_Init( 115200 );