mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-18 14:42:33 +00:00
actually close serial port on transport->close
This commit is contained in:
parent
7301ad89bc
commit
c095e79e4d
@ -45,6 +45,6 @@ $(NAME): $(SRCS)
|
|||||||
$(CXX) $(CXXFLAGS) -o $(NAME) $(filter %.mm,$^) $(filter %.m,$^) $(filter %.c,$^) $(LDFLAGS)
|
$(CXX) $(CXXFLAGS) -o $(NAME) $(filter %.mm,$^) $(filter %.m,$^) $(filter %.c,$^) $(LDFLAGS)
|
||||||
export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $(NAME)
|
export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $(NAME)
|
||||||
ssh root@192.168.3.102 rm -f BTdaemon
|
ssh root@192.168.3.102 rm -f BTdaemon
|
||||||
scp $(NAME) root@192.168.3.102:.
|
scp $(NAME) root@192.168.3.102:/var/mobile
|
||||||
|
|
||||||
.PHONY: all clean
|
.PHONY: all clean
|
||||||
|
@ -108,6 +108,7 @@ static int h4_open(void *transport_config){
|
|||||||
|
|
||||||
static int h4_close(){
|
static int h4_close(){
|
||||||
hci_dump_close();
|
hci_dump_close();
|
||||||
|
close(fd);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user