![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
主導機 mbed用のプログラムです
Fork of F3RC_syudou_master by
Diff: TestShell.cpp
- Revision:
- 8:6d0de6154e8f
- Parent:
- 0:736c76a75def
--- a/TestShell.cpp Thu Apr 30 06:26:22 2015 +0000 +++ b/TestShell.cpp Fri May 15 02:45:57 2015 +0000 @@ -44,6 +44,12 @@ printf("%02X:%02X:%02X:%02X:%02X:%02X",a[5],a[4],a[3],a[2],a[1],a[0]); } +void fprintf(FILE *fp,const BD_ADDR* addr) +{ + const u8* a = addr->addr; + fprintf(fp,"%02X:%02X:%02X:%02X:%02X:%02X",a[5],a[4],a[3],a[2],a[1],a[0]); +} + #define MAX_HCL_SIZE 260 #define MAX_ACL_SIZE 400