mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-17 20:42:47 +00:00
fix compile for Xcode 5
This commit is contained in:
parent
de1626b942
commit
f74909742d
@ -46,12 +46,12 @@ static void bt_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t* pa
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static BluetoothController* sharedInstance = nil;
|
||||||
|
|
||||||
@implementation BluetoothController
|
@implementation BluetoothController
|
||||||
|
|
||||||
@synthesize listener;
|
@synthesize listener;
|
||||||
|
|
||||||
static BluetoothController* sharedInstance = nil;
|
|
||||||
|
|
||||||
+(BluetoothController*) sharedInstance{
|
+(BluetoothController*) sharedInstance{
|
||||||
if (!sharedInstance) {
|
if (!sharedInstance) {
|
||||||
sharedInstance = [[self alloc] init];
|
sharedInstance = [[self alloc] init];
|
||||||
|
@ -56,12 +56,13 @@
|
|||||||
- (BOOL)isWildcat;
|
- (BOOL)isWildcat;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface BluetoothPSViewController : PSViewController
|
@interface BluetoothPSViewController : PSViewController {
|
||||||
BluetoothTableViewAdapter *tableViewAdapter;
|
BluetoothTableViewAdapter *tableViewAdapter;
|
||||||
BluetoothController *bluetoothController;
|
BluetoothController *bluetoothController;
|
||||||
UIView *_wrapperView; // for < 3.2
|
UIView *_wrapperView; // for < 3.2
|
||||||
UITableView *tableView;
|
UITableView *tableView;
|
||||||
BOOL initialized;
|
BOOL initialized;
|
||||||
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation BluetoothPSViewController
|
@implementation BluetoothPSViewController
|
||||||
|
Loading…
x
Reference in New Issue
Block a user