Turn off watchdog before jumping to the user application in the DFU and CDC based...
[pub/USBasp.git] / Demos / Host / Incomplete / BluetoothHost / BluetoothEvents.h
index 1cb104a..ae235fb 100644 (file)
@@ -1,13 +1,13 @@
 /*\r
              LUFA Library\r
 /*\r
              LUFA Library\r
-     Copyright (C) Dean Camera, 2010.\r
+     Copyright (C) Dean Camera, 2012.\r
               \r
   dean [at] fourwalledcubicle [dot] com\r
               \r
   dean [at] fourwalledcubicle [dot] com\r
-      www.fourwalledcubicle.com\r
+           www.lufa-lib.org\r
 */\r
 \r
 /*\r
 */\r
 \r
 /*\r
-  Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
+  Copyright 2012  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
 \r
   Permission to use, copy, modify, distribute, and sell this \r
   software and its documentation for any purpose is hereby granted\r
 \r
   Permission to use, copy, modify, distribute, and sell this \r
   software and its documentation for any purpose is hereby granted\r
@@ -45,7 +45,7 @@
                #include "Lib/SDP.h"\r
                #include "Lib/RFCOMM.h"\r
 \r
                #include "Lib/SDP.h"\r
                #include "Lib/RFCOMM.h"\r
 \r
-               #include <LUFA/Drivers/Peripheral/SerialStream.h>\r
+               #include <LUFA/Drivers/Peripheral/Serial.h>\r
                #include <LUFA/Drivers/Board/LEDs.h>\r
                \r
        /* Macros: */\r
                #include <LUFA/Drivers/Board/LEDs.h>\r
                \r
        /* Macros: */\r
@@ -65,6 +65,8 @@
                #define LEDMASK_USB_BUSY          LEDS_LED2\r
        \r
        /* External Variables: */\r
                #define LEDMASK_USB_BUSY          LEDS_LED2\r
        \r
        /* External Variables: */\r
-               extern Bluetooth_Channel_t* RFCOMMChannel;\r
+               extern Bluetooth_Channel_t* SerialChannel_ACL;\r
+               extern RFCOMM_Channel_t*    SerialChannel_RFCOMM;\r
                \r
 #endif\r
                \r
 #endif\r
+