]> rtime.felk.cvut.cz Git - mirosot.git/blobdiff - bluetooth/bth_error.c
An unsucesfull attempt to clean bluetooth library and make it working.
[mirosot.git] / bluetooth / bth_error.c
index c19fb2e9726c97b643d5aae56944092b19ebd878..2996a22105b61236a5b6c255ee6b4bf2682eda94 100644 (file)
@@ -1,11 +1,9 @@
-#ifdef BTH_LX\r
 #include <types.h>\r
+#ifdef BTH_LX\r
 #include <cpu_def.h>\r
 #include <h8s2638h.h>\r
 #include <system_def.h>\r
 #include <periph/sci_rs232.h>\r
-#else\r
-#include "types.h"\r
 #endif\r
 \r
 #include <stdlib.h>\r
@@ -52,7 +50,7 @@ static struct {
 */\r
 void bth_error_detect_status(uint8_t status_num)\r
 {\r
-  uint8_t *message;\r
+  char *message;\r
   int i=0;\r
   if(status_num<sizeof(status_command));\r
   {\r
@@ -88,7 +86,7 @@ static struct {
  */\r
    void bth_error_detect_event(uint8_t status_num)\r
 {\r
-  uint8_t *message;\r
+  char *message;\r
   int i=0;\r
   if(status_num<sizeof(event_command));\r
   {\r