X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/6a10d6b465be27db090d760dc0fbe722c94e4344..6198289b388e4122afe4913f899b37a8e7cd8af4:/LUFA/Drivers/USB/LowLevel/StreamCallbacks.h diff --git a/LUFA/Drivers/USB/LowLevel/StreamCallbacks.h b/LUFA/Drivers/USB/LowLevel/StreamCallbacks.h index 60e408e9c..5c2dad637 100644 --- a/LUFA/Drivers/USB/LowLevel/StreamCallbacks.h +++ b/LUFA/Drivers/USB/LowLevel/StreamCallbacks.h @@ -48,7 +48,7 @@ * Stream callback functions should return a value from the StreamCallback_Return_ErrorCodes_t * enum. * - * Usage Example (Device Endpoint, but applicable for Host pipes also): + * Usage Example (Device Endpoint, but applicable for Host Pipes also): * \code * STREAM_CALLBACK(GlobalNotSet); // Callback Prototype * @@ -62,8 +62,8 @@ * * //... * // Inside some routine: - * if (Endpoint_Write_CStream_LE(DataBuffer, sizeof(DataBuffer), GlobalNotSet) == - * ENDPOINT_RWSTREAM_ERROR_CallbackAborted) + * if (Endpoint_Write_Stream_LE(DataBuffer, sizeof(DataBuffer), GlobalNotSet) == + * ENDPOINT_RWSTREAM_ERROR_CallbackAborted) * { * // Do something when the callback aborted the transfer early * } @@ -81,7 +81,7 @@ enum StreamCallback_Return_ErrorCodes_t { STREAMCALLBACK_Continue = 0, /**< Continue sending or receiving the stream. */ - STREAMCALLBACK_Abort = 1, /**< Abort the stream send or reciving process. */ + STREAMCALLBACK_Abort = 1, /**< Abort the stream send or receiving process. */ }; #endif