Minor documentation fixes.
[pub/USBasp.git] / LUFA / Drivers / USB / Core / XMEGA / EndpointStream_XMEGA.c
index b1b05bf..15ee479 100644 (file)
@@ -114,6 +114,9 @@ uint8_t Endpoint_Null_Stream(uint16_t Length,
        return ENDPOINT_RWSTREAM_NoError;\r
 }\r
 \r
+/* The following abuses the C preprocessor in order to copy-paste common code with slight alterations,\r
+ * so that the code needs to be written once. It is a crude form of templating to reduce code maintenance. */\r
+\r
 #define  TEMPLATE_FUNC_NAME                        Endpoint_Write_Stream_LE\r
 #define  TEMPLATE_BUFFER_TYPE                      const void*\r
 #define  TEMPLATE_CLEAR_ENDPOINT()                 Endpoint_ClearIN()\r