V1.23
This commit is contained in:
parent
f2e8c43e2e
commit
edf95ec041
|
@ -22,7 +22,7 @@
|
||||||
#define API_FRAME_RESPONSE (0x01) /* 响应帧 */
|
#define API_FRAME_RESPONSE (0x01) /* 响应帧 */
|
||||||
#define API_FRAME_NOTIFICATION (0x02) /* 通知帧 */
|
#define API_FRAME_NOTIFICATION (0x02) /* 通知帧 */
|
||||||
|
|
||||||
#define SOFTWARE_VERSION ("V1.22")
|
#define SOFTWARE_VERSION ("V1.23")
|
||||||
#define HARDWARE_VERSION ("V1.01")
|
#define HARDWARE_VERSION ("V1.01")
|
||||||
|
|
||||||
extern uint8_t api_upgrade_mode;
|
extern uint8_t api_upgrade_mode;
|
||||||
|
|
|
@ -240,11 +240,11 @@ static void set_volume_level(uint8_t level)
|
||||||
strobe_light_flashing_enable = 0x00;
|
strobe_light_flashing_enable = 0x00;
|
||||||
break;
|
break;
|
||||||
case 0x01:
|
case 0x01:
|
||||||
m62429_set_vol(9);
|
m62429_set_vol(7);
|
||||||
strobe_light_flashing_enable = 0x01;
|
strobe_light_flashing_enable = 0x01;
|
||||||
break;
|
break;
|
||||||
case 0x02:
|
case 0x02:
|
||||||
m62429_set_vol(8);
|
m62429_set_vol(5);
|
||||||
strobe_light_flashing_enable = 0x01;
|
strobe_light_flashing_enable = 0x01;
|
||||||
break;
|
break;
|
||||||
case 0x03:
|
case 0x03:
|
||||||
|
@ -412,7 +412,9 @@ static void strobe_light_operate_task(uint8_t uuid)
|
||||||
else if (strobe_light_flashing_mode == 1)
|
else if (strobe_light_flashing_mode == 1)
|
||||||
{
|
{
|
||||||
/* 频闪 */
|
/* 频闪 */
|
||||||
gpio_bit_toggle(LED_STROBE_PERIPH, LED_STROBE_PIN);
|
gpio_bit_write(LED_STROBE_PERIPH, LED_STROBE_PIN, !(strobe_light_flashing_count % 2));
|
||||||
|
|
||||||
|
//gpio_bit_toggle(LED_STROBE_PERIPH, LED_STROBE_PIN);
|
||||||
|
|
||||||
if (strobe_light_flashing_count >= 4)
|
if (strobe_light_flashing_count >= 4)
|
||||||
{
|
{
|
||||||
|
@ -427,7 +429,8 @@ static void strobe_light_operate_task(uint8_t uuid)
|
||||||
else if (strobe_light_flashing_mode == 2)
|
else if (strobe_light_flashing_mode == 2)
|
||||||
{
|
{
|
||||||
/* 爆闪 */
|
/* 爆闪 */
|
||||||
gpio_bit_toggle(LED_STROBE_PERIPH, LED_STROBE_PIN);
|
gpio_bit_write(LED_STROBE_PERIPH, LED_STROBE_PIN, !(strobe_light_flashing_count % 2));
|
||||||
|
//gpio_bit_toggle(LED_STROBE_PERIPH, LED_STROBE_PIN);
|
||||||
|
|
||||||
if (strobe_light_flashing_count >= 20)
|
if (strobe_light_flashing_count >= 20)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user