\r
#include <string.h>\r
#include <stdlib.h>\r
-#ifdef BTH_LX\r
#include <types.h>\r
+#ifdef BTH_LX\r
#include <cpu_def.h>\r
#include <h8s2638h.h>\r
#include <periph/sci_rs232.h>\r
#include <system_def.h>\r
-\r
-#else\r
-#include "types.h"\r
#endif\r
\r
#include "hci.h"\r
/**\r
* Search the cannels of the connected device dev_num and search the channel dcid\r
*/\r
-inline int l2cap_find_dcid(int dcid, int dev_num )\r
+static inline int l2cap_find_dcid(int dcid, int dev_num )\r
{\r
int i;\r
for(i=1;i<L2CAP_NUM_OF_CANAL;i++)\r
\r
int l2cap_add_to_send_buffer(uint8_t *bth_p)\r
{\r
- if(bth_pole_adrr_comm_packet[bth_com_buf_info.aktual]!=NULL)\r
+ if(bth_array_adrr_comm_packet[bth_com_buf_info.aktual]!=NULL)\r
{return 1;};\r
- bth_pole_adrr_comm_packet[bth_com_buf_info.aktual]=bth_p;\r
+ bth_array_adrr_comm_packet[bth_com_buf_info.aktual]=bth_p;\r
\r
/*set the position in command array for the next command. If it is possible to write there (if the pointer = NULL) is checked by the writer. .\r
\r