Skip to content

Commit cbfb872

Browse files
authored
Fix indentation
1 parent e3753df commit cbfb872

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

STM32F1/cores/maple/usb_serial.h

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,19 @@ class USBSerial : public Stream {
4444

4545
void begin(void);
4646

47-
// Roger Clark. Added dummy function so that existing Arduino sketches which specify baud rate will compile.
48-
void begin(unsigned long);
49-
void begin(unsigned long, uint8_t);
47+
// Roger Clark. Added dummy function so that existing Arduino sketches which specify baud rate will compile.
48+
void begin(unsigned long);
49+
void begin(unsigned long, uint8_t);
5050
void end(void);
5151

52-
operator bool() { return true; } // Roger Clark. This is needed because in cardinfo.ino it does if (!Serial) . It seems to be a work around for the Leonardo that we needed to implement just to be compliant with the API
52+
operator bool() { return true; } // Roger Clark. This is needed because in cardinfo.ino it does if (!Serial) . It seems to be a work around for the Leonardo that we needed to implement just to be compliant with the API
5353

5454
virtual int available(void);// Changed to virtual
5555

5656
uint32 read(uint8 * buf, uint32 len);
57-
// uint8 read(void);
57+
// uint8 read(void);
5858

59-
// Roger Clark. added functions to support Arduino 1.0 API
59+
// Roger Clark. added functions to support Arduino 1.0 API
6060
virtual int peek(void);
6161
virtual int read(void);
6262
int availableForWrite(void);
@@ -74,8 +74,7 @@ class USBSerial : public Stream {
7474
};
7575

7676
#ifdef SERIAL_USB
77-
extern USBSerial Serial;
77+
extern USBSerial Serial;
7878
#endif
7979

8080
#endif
81-

0 commit comments

Comments
 (0)