X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/08f448407bc3718c9434dadd26b4266e42e0f21d..d6192148542bebdfbd7a33b336492e93dbf90406:/Demos/Host/LowLevel/AndroidAccessoryHost/AndroidAccessoryHost.c diff --git a/Demos/Host/LowLevel/AndroidAccessoryHost/AndroidAccessoryHost.c b/Demos/Host/LowLevel/AndroidAccessoryHost/AndroidAccessoryHost.c index 723cf505a..52ca9101f 100644 --- a/Demos/Host/LowLevel/AndroidAccessoryHost/AndroidAccessoryHost.c +++ b/Demos/Host/LowLevel/AndroidAccessoryHost/AndroidAccessoryHost.c @@ -93,7 +93,7 @@ void AndroidHost_Task(void) /* Check if data is in the pipe */ if (Pipe_IsReadWriteAllowed()) { - uint8_t NextReceivedByte = Pipe_BytesInPipe(); + uint8_t NextReceivedByte = Pipe_Read_8(); uint8_t LEDMask = LEDS_NO_LEDS; if (NextReceivedByte & 0x01)