Update smart_ble.c

This commit is contained in:
yunzii keyboard 2024-08-28 11:38:42 +08:00 committed by GitHub
parent a4c7576d01
commit 33249f3095
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -88,7 +88,7 @@ void sc_ble_battary(uint8_t batt_level) {
uart_write(batt_level); uart_write(batt_level);
} }
void WIRELESS_START(uint32_t mode) void wireless_start(uint32_t mode)
{ {
uint8_t ble_command[24]; uint8_t ble_command[24];
smart_ble_startup(); smart_ble_startup();
@ -107,7 +107,7 @@ void WIRELESS_START(uint32_t mode)
uart_transmit(ble_command,sizeof(ble_command)); uart_transmit(ble_command,sizeof(ble_command));
} }
void WIRELESS_STOP(void) void wireless_stop(void)
{ {
smart_ble_disconnect(); smart_ble_disconnect();
uart_write(0x55); uart_write(0x55);