Преглед на файлове

BT - set some pointers to NULL and verbose

main
Kurt Eckhardt преди 5 години
родител
ревизия
652f2aa264
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. +3
    -3
      USBHost_t36.h
  2. +1
    -1
      bluetooth.cpp

+ 3
- 3
USBHost_t36.h Целия файл

@@ -57,7 +57,7 @@
// your best effort to read chapter 4 before asking USB questions!


//#define USBHOST_PRINT_DEBUG
#define USBHOST_PRINT_DEBUG

/************************************************/
/* Data Types */
@@ -517,7 +517,7 @@ private:
virtual void hid_input_end();
virtual void disconnect_collection(Device_t *dev);
void add_to_list();
USBHIDInput *next;
USBHIDInput *next = NULL;
friend class USBHIDParser;
protected:
Device_t *mydevice = NULL;
@@ -545,7 +545,7 @@ private:
virtual bool process_bluetooth_HID_data(const uint8_t *data, uint16_t length) {return false;}
virtual void release_bluetooth() {};
void add_to_list();
BTHIDInput *next;
BTHIDInput *next = NULL;
friend class BluetoothController;
protected:
Device_t *btdevice = NULL;

+ 1
- 1
bluetooth.cpp Целия файл

@@ -31,7 +31,7 @@
#define println USBHost::println_

#define DEBUG_BT
//#define DEBUG_BT_VERBOSE
#define DEBUG_BT_VERBOSE

#ifndef DEBUG_BT
#undef DEBUG_BT_VERBOSE

Loading…
Отказ
Запис