Fixed incorrect definition of the HID_KEYBOARD_SC_RIGHT_ARROW constant in the HID...
[pub/USBasp.git] / Demos / Host / LowLevel / MouseHost / MouseHost.c
index 3428e27..4e9a038 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2010.
+     Copyright (C) Dean Camera, 2011.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
-  Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2011  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
@@ -153,7 +153,7 @@ void ReadNextReport(void)
        if (Pipe_IsReadWriteAllowed())
        {
                /* Read in mouse report data */
        if (Pipe_IsReadWriteAllowed())
        {
                /* Read in mouse report data */
-               Pipe_Read_Stream_LE(&MouseReport, sizeof(MouseReport));
+               Pipe_Read_Stream_LE(&MouseReport, sizeof(MouseReport), NULL);
 
                /* Alter status LEDs according to mouse X movement */
                if (MouseReport.X > 0)
 
                /* Alter status LEDs according to mouse X movement */
                if (MouseReport.X > 0)