Fix warnings

This commit is contained in:
twinaphex 2015-11-16 03:40:57 +01:00
parent 646ded9d1c
commit 8d67d5175e
2 changed files with 1 additions and 1 deletions

View File

@ -787,7 +787,6 @@ static bool btstack_hid_joypad_rumble(void *data, unsigned pad,
static int16_t btstack_hid_joypad_axis(void *data, unsigned port, uint32_t joyaxis)
{
btstack_hid_t *hid = (btstack_hid_t*)data;
int16_t val = 0;
if (joyaxis == AXIS_NONE)

View File

@ -24,6 +24,7 @@
#include <AvailabilityMacros.h>
#import <GameController/GameController.h>
#include "../input_hid_driver.h"
#include "../drivers/cocoa_input.h"
#include "../connect/joypad_connection.h"