nrf5/bluetooth: Fixing some smaller tab errors in the bluetooth driver.

This commit is contained in:
Glenn Ruben Bakke 2017-03-26 21:05:06 +02:00
parent cd2149a47f
commit 2f2e67e9bd

View File

@ -607,8 +607,8 @@ void ble_drv_attr_read(uint16_t conn_handle, uint16_t handle, uint16_t len, uint
handle, handle,
&gatts_value); &gatts_value);
if (err_code != 0) { if (err_code != 0) {
nlr_raise(mp_obj_new_exception_msg_varg(&mp_type_OSError, nlr_raise(mp_obj_new_exception_msg_varg(&mp_type_OSError,
"Can not read attribute value. status: 0x" HEX2_FMT, (uint16_t)err_code)); "Can not read attribute value. status: 0x" HEX2_FMT, (uint16_t)err_code));
} }
} }
@ -641,9 +641,9 @@ void ble_drv_attr_notify(uint16_t conn_handle, uint16_t handle, uint16_t len, ui
hvx_params.p_len = &hvx_len; hvx_params.p_len = &hvx_len;
hvx_params.p_data = p_data; hvx_params.p_data = p_data;
while (m_tx_in_progress) { while (m_tx_in_progress) {
; ;
} }
m_tx_in_progress = true; m_tx_in_progress = true;
uint32_t err_code; uint32_t err_code;