]> rtime.felk.cvut.cz Git - mirosot.git/blobdiff - bluetooth/inline_fce.h
Comments translated to english
[mirosot.git] / bluetooth / inline_fce.h
index c813b3efb43924dacd895a30d161c59c74d04b07..ee08505faa6ec2440a5b3f1ec0c7f1293ffea463 100644 (file)
@@ -13,7 +13,7 @@
  #include <string.h>\r
 \r
 /**/\r
-/*funkce hlada v seznamu bdadres ba2 velikosti num bdadresu ba1, pokud ji najde, vrati jeji poradi*/\r
+/*Search the list ba1 of the size num for bdadres ba2, if it is found, it's index is returned*/\r
 \r
 static inline int bth_seach_bdaddr(bdaddr_t *ba1, const bdaddr_t *ba2, int num)\r
 {\r
@@ -48,7 +48,7 @@ static inline uint16_t __cpu_to_be16(uint16_t value)
   return(value|pomoc);\r
 };\r
 \r
-static inline void store_le16(void *address, uint16_t value) //pro u16 s vyuzitim bigindianu\r
+static inline void store_le16(void *address, uint16_t value) //for u16 big endian\r
 {\r
   uint16_t be;\r
   be = __cpu_to_le16(value);\r
@@ -56,7 +56,7 @@ static inline void store_le16(void *address, uint16_t value) //pro u16 s vyuziti
   memcpy(address, &be, sizeof(uint16_t));\r
 }\r
 \r
-static inline void store_be16(void *address, uint16_t value) //pro u16 s vyuzitim bigindianu\r
+static inline void store_be16(void *address, uint16_t value) //for u16 big endian\r
  {\r
    uint16_t be;\r
    be = __cpu_to_be16(value);\r