Remove commented out code.

This commit is contained in:
László Monda
2016-10-17 22:47:45 +02:00
parent 32b5484b31
commit ab3d8b92f0

View File

@@ -41,19 +41,8 @@ static usb_mouse_report_t UsbMouseReport;
static uint8_t scrollCounter = 0;
static volatile usb_status_t UsbMouseAction(void)
{
/* uint8_t i2cBuffer[I2C_DATA_LENGTH];
i2c_master_transfer_t masterXfer;
masterXfer.slaveAddress = LEFT_KEYBOARD_HALF_I2C_ADDRESS_7BIT;
masterXfer.direction = kI2C_Read;
masterXfer.subaddress = 0;
masterXfer.subaddressSize = 0;
masterXfer.data = i2cBuffer;
masterXfer.dataSize = I2C_DATA_LENGTH;
masterXfer.flags = kI2C_TransferDefaultFlag;
I2C_MasterTransferBlocking(EXAMPLE_I2C_MASTER_BASEADDR, &masterXfer);
*/
UsbMouseReport.buttons = 0;
UsbMouseReport.x = 0;//i2cBuffer[1] - i2cBuffer[0];
UsbMouseReport.x = 0;
UsbMouseReport.y = 0;
UsbMouseReport.wheelX = 0;
UsbMouseReport.wheelY = 0;