From dcdd8a423d1782d5e950c546eaafb15dde0a7d28 Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Sat, 27 Oct 2007 17:53:15 +0300 Subject: [PATCH] Hide variables inside TFUSBController.m. --- TFUSBController.h | 4 ---- TFUSBController.m | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/TFUSBController.h b/TFUSBController.h index 5d7207e..319d15a 100644 --- a/TFUSBController.h +++ b/TFUSBController.h @@ -61,10 +61,6 @@ typedef struct { DataHandler* dh; //move id tableView;// and this? } -int debug; -int rate; -int kBlockSize; -int connectedSpeed; - (void) closeDevice:(USBDeviceContext *)device; diff --git a/TFUSBController.m b/TFUSBController.m index 90be6d0..3b255dc 100644 --- a/TFUSBController.m +++ b/TFUSBController.m @@ -92,6 +92,11 @@ static int dealWithInterface(io_service_t usbInterfaceRef, static int dealWithDevice(io_service_t usbDeviceRef, USBDeviceContext *device); static int initDevice(USBDeviceContext *device); +static int debug; +static int rate; +static int kBlockSize; +static int connectedSpeed; + @interface TFUSBController (PrivateMethods) // Low-level USB -- 2.11.4.GIT