Skip to content

Commit 66b0a74

Browse files
committed
Use FIXME instead of BUGBUG
1 parent 55a9930 commit 66b0a74

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

libraries/USBHost/examples/USB_desc/USB_desc.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,19 +210,19 @@ byte getconfdescr( byte addr, byte conf )
210210
{
211211
uint8_t buf[ BUFSIZE ];
212212
uint8_t* buf_ptr = buf;
213-
byte rcode; // BUGBUG -- code does not actually check return code (no error handling!)
213+
byte rcode; // FIXME -- code does not actually check return code (no error handling!)
214214
byte descr_length;
215215
byte descr_type;
216216
uint16_t total_length;
217-
// BUGBUG -- no check of return code from usb.getConfDescr()
217+
// FIXME -- no check of return code from usb.getConfDescr()
218218
rcode = usb.getConfDescr( addr, 0, 4, conf, buf ); //get total length
219219
LOBYTE( total_length ) = buf[ 2 ];
220220
HIBYTE( total_length ) = buf[ 3 ];
221221
if( total_length > sizeof(buf)) { //check if total length is larger than buffer
222222
printProgStr(Conf_Trunc_str);
223223
total_length = sizeof(buf);
224224
}
225-
// BUGBUG -- no check of return code from usb.getConfDescr()
225+
// FIXME -- no check of return code from usb.getConfDescr()
226226
rcode = usb.getConfDescr( addr, 0, total_length, conf, buf ); //get the whole descriptor
227227
while( buf_ptr < buf + total_length ) { //parsing descriptors
228228
descr_length = *( buf_ptr );

libraries/USBHost/src/confdescparser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ bool ConfigDescParser<CLASS_ID, SUBCLASS_ID, PROTOCOL_ID, MASK>::ParseDescriptor
104104

105105
#pragma GCC diagnostic push // Available since GCC 4.6.4
106106
/*
107-
* BUGBUG -- Enabled and review all `-Wimplicit-fallthrough` messages
107+
* FIXME -- Enabled and review all `-Wimplicit-fallthrough` messages
108108
* This code has multiple switch statements that "fall through" to the
109109
* next case -- but it's not always clear if this is intentional or not.
110110
* Review and commenting of code, and reducing cyclomatic complexity

libraries/USBHost/src/hidescriptorparser.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,7 @@ uint8_t ReportDescParserBase::ParseItem(uint8_t **pp, uint32_t *pcntdn) {
10941094

10951095
#pragma GCC diagnostic push // Available since GCC 4.6.4
10961096
/*
1097-
* BUGBUG -- Enabled and review all `-Wimplicit-fallthrough` messages
1097+
* FIXME -- Enabled and review all `-Wimplicit-fallthrough` messages
10981098
* This code has multiple switch statements that "fall through" to the
10991099
* next case -- but it's not always clear if this is intentional or not.
11001100
* Review and commenting of code, and reducing cyclomatic complexity
@@ -1453,7 +1453,7 @@ uint8_t ReportDescParser2::ParseItem(uint8_t **pp, uint32_t *pcntdn) {
14531453

14541454
#pragma GCC diagnostic push // Available since GCC 4.6.4
14551455
/*
1456-
* BUGBUG -- Enabled and review all `-Wimplicit-fallthrough` messages
1456+
* FIXME -- Enabled and review all `-Wimplicit-fallthrough` messages
14571457
* This code has multiple switch statements that "fall through" to the
14581458
* next case -- but it's not always clear if this is intentional or not.
14591459
* Review and commenting of code, and reducing cyclomatic complexity

libraries/USBHost/src/parsetools.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ bool PTPListParser::Parse(uint8_t **pp, uint32_t *pcntdn, PTP_ARRAY_EL_FUNC pf,
3535

3636
#pragma GCC diagnostic push // Available since GCC 4.6.4
3737
/*
38-
* BUGBUG -- Enabled and review all `-Wimplicit-fallthrough` messages
38+
* FIXME -- Enabled and review all `-Wimplicit-fallthrough` messages
3939
* This code has multiple switch statements that "fall through" to the
4040
* next case -- but it's not always clear if this is intentional or not.
4141
* Review and commenting of code, and reducing cyclomatic complexity

libraries/USBHost/src/parsetools.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class ByteSkipper {
6868
bool Skip(uint8_t **pp, uint32_t *pcntdn, uint32_t bytes_to_skip) {
6969
#pragma GCC diagnostic push // Available since GCC 4.6.4
7070
/*
71-
* BUGBUG -- Enabled and review all `-Wimplicit-fallthrough` messages
71+
* FIXME -- Enabled and review all `-Wimplicit-fallthrough` messages
7272
* This code has multiple switch statements that "fall through" to the
7373
* next case -- but it's not always clear if this is intentional or not.
7474
* Review and commenting of code, and reducing cyclomatic complexity

0 commit comments

Comments
 (0)