Fixed compilation error in incomplete BluetoothHost demo.

pull/1469/head
Dean Camera 15 years ago
parent e0af6014a7
commit 23f3c3deee

@ -69,7 +69,7 @@ void Bluetooth_ProcessACLPackets(void)
Bluetooth_ProcessSignalPacket_ConfigurationRequest(&ACLPacketHeader, &DataHeader, &SignalCommandHeader); Bluetooth_ProcessSignalPacket_ConfigurationRequest(&ACLPacketHeader, &DataHeader, &SignalCommandHeader);
break; break;
case BLUETOOTH_SIGNAL_INFORMATION_REQUEST: case BLUETOOTH_SIGNAL_INFORMATION_REQUEST:
BT_DEBUG("(ACL) -- Information Request, Discarded"); BT_DEBUG("(ACL) -- Information Request, Discarded", NULL);
Pipe_Discard_Stream(ACLPacketHeader.DataLength); Pipe_Discard_Stream(ACLPacketHeader.DataLength);
Pipe_ClearIN(); Pipe_ClearIN();

@ -45,7 +45,7 @@
#define CHANNEL_LOOKUP_BY_SOURCE true #define CHANNEL_LOOKUP_BY_SOURCE true
#define CHANNEL_LOOKUP_BY_DESTINATION false #define CHANNEL_LOOKUP_BY_DESTINATION false
#define BT_DEBUG(s, ...) printf_P(PSTR(s "\r\n"), __VA_ARGS__) #define BT_DEBUG(s, ...) printf_P(PSTR(s "\r\n"), __VA_ARGS__)
/* Enums: */ /* Enums: */
enum Bluetooth_Channel_State_t enum Bluetooth_Channel_State_t

Loading…
Cancel
Save