Fixed version check for AOA 2.0
Fork of AndroidAccessory by
Diff: AndroidAccessory.cpp
- Revision:
- 3:e7435fada96a
- Parent:
- 0:1151e4446dbc
--- a/AndroidAccessory.cpp Tue Aug 02 08:36:49 2011 +0000 +++ b/AndroidAccessory.cpp Sun Nov 29 15:58:55 2015 +0000 @@ -177,7 +177,7 @@ bool AndroidAccessory::switchDevice(int device) { - if (1==getProtocol(device)) { + if (1<=getProtocol(device)) { log("device supports protocol 1\r\n"); } else {