提交近期修改的内容

This commit is contained in:
xqq27 2024-12-17 21:18:40 +08:00
parent 3cd5cf9ebd
commit 334d82e032

View File

@ -1,11 +1,38 @@
#include "mw_bluetooth.h"
// /* user external inc. */
// #include "mw_soft_timer.h"
// Initial the entity of bluetooth buf.
mw_bluetooth_t bluetooth_drv_buf[bluetooth_num];
mw_bluetooth_drv_init(void)
/*************************************************************************************
* @brief Get the bluetooth object
* @param[in/out] e_val
* @return mw_bluetooth_t
*
* @warning ,
* @note
*************************************************************************************/
mw_bluetooth_t mw_get_bluetooth_drv(bluetooth_type_enum e_val)
{
;
if(e_val >= bluetooth_num)
{
while(1);
}
return bluetooth_drv_buf[e_val];
}
// static void
void mw_bluetooth_drv_init(void)
{
// bluetooth_drv_buf[hc06].bluetooth_drv = hc06;
// bluetooth_drv_buf[hc06].get_systick_ms = get_systick_ms;
}