I'm bad at mac.. sorry.

Used the correct name string.
This commit is contained in:
Matthew Parlane 2013-05-18 22:29:51 +12:00
parent 0b869cf12d
commit 08f6ba8274
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ void WiimoteScanner::FindWiimotes(std::vector<Wiimote*> & found_wiimotes, Wiimot
Wiimote *wm = new Wiimote(); Wiimote *wm = new Wiimote();
wm->btd = dev; wm->btd = dev;
if(IsBalanceBoardName(name)) if(IsBalanceBoardName([[dev name] UTF8String]))
{ {
found_board = wm; found_board = wm;
NOTICE_LOG(WIIMOTE, "Found balance board (%s).", bdaddr_str); NOTICE_LOG(WIIMOTE, "Found balance board (%s).", bdaddr_str);