mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Replace deprecated byte variable with uint8_t
This commit is contained in:
parent
523e66e827
commit
acfcba6fa6
2 changed files with 2 additions and 2 deletions
|
@ -555,7 +555,7 @@ void PS3USB::getMoveCalibration(uint8_t *data) {
|
|||
// bmRequest = Device to host (0x80) | Class (0x20) | Interface (0x01) = 0xA1, bRequest = Get Report (0x01), Report ID (0x10), Report Type (Feature 0x03), interface (0x00), datalength, datalength, data
|
||||
pUsb->ctrlReq(bAddress, epInfo[PS3_CONTROL_PIPE].epAddr, bmREQ_HID_IN, HID_REQUEST_GET_REPORT, 0x10, 0x03, 0x00, 49, 49, buf, NULL);
|
||||
|
||||
for(byte j = 0; j < 49; j++)
|
||||
for(uint8_t j = 0; j < 49; j++)
|
||||
data[49 * i + j] = buf[j];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ e-mail : support@circuitsathome.com
|
|||
sendbyte(a); \
|
||||
}
|
||||
|
||||
static byte lcdPins; //copy of LCD pins
|
||||
static uint8_t lcdPins; //copy of LCD pins
|
||||
|
||||
Max_LCD::Max_LCD(USB *pusb) : pUsb(pusb) {
|
||||
lcdPins = 0;
|
||||
|
|
Loading…
Reference in a new issue