mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-29 18:52:13 +01:00
USB libraries: replace non-portable u8 with uint8_t
This commit is contained in:
parent
ca7d22e802
commit
92a05d2e25
@ -27,7 +27,7 @@
|
||||
//================================================================================
|
||||
// Keyboard
|
||||
|
||||
static const u8 _hidReportDescriptor[] PROGMEM = {
|
||||
static const uint8_t _hidReportDescriptor[] PROGMEM = {
|
||||
|
||||
// Keyboard
|
||||
0x05, 0x01, // USAGE_PAGE (Generic Desktop) // 47
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
#if defined(_USING_HID)
|
||||
|
||||
static const u8 _hidReportDescriptor[] PROGMEM = {
|
||||
static const uint8_t _hidReportDescriptor[] PROGMEM = {
|
||||
|
||||
// Mouse
|
||||
0x05, 0x01, // USAGE_PAGE (Generic Desktop) // 54
|
||||
@ -88,7 +88,7 @@ void Mouse_::click(uint8_t b)
|
||||
|
||||
void Mouse_::move(signed char x, signed char y, signed char wheel)
|
||||
{
|
||||
u8 m[4];
|
||||
uint8_t m[4];
|
||||
m[0] = _buttons;
|
||||
m[1] = x;
|
||||
m[2] = y;
|
||||
|
Loading…
x
Reference in New Issue
Block a user