merge peripheral.c headstage.h pin.h

This commit is contained in:
weiting2
2020-02-11 18:16:38 +08:00
parent 7bc70b5a72
commit 11928ccbb8
@@ -40,9 +40,11 @@ static uint8_t headstage_notify_append_data(uint8_t *data_value) {
if (data_value == NULL) {
headstage_notify_buffer[not_buf_offset++] = 0x00;
headstage_notify_buffer[not_buf_offset++] = 0x00;
headstage_notify_buffer[not_buf_offset++] = 0x00;
} else {
headstage_notify_buffer[not_buf_offset++] = data_value[0];
headstage_notify_buffer[not_buf_offset++] = data_value[1];
headstage_notify_buffer[not_buf_offset++] = data_value[2];
}
if (not_buf_offset == BLE_NOT_BUFF_SIZE) {