We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81b1b08 commit 54cd854Copy full SHA for 54cd854
1 file changed
STM32F1/cores/maple/usb_serial.h
@@ -80,7 +80,7 @@ class USBSerial : public Stream {
80
*
81
* Deprecated, use the above.
82
*/
83
- uint8 isConnected() { return (bool) *this; }
+ uint8 isConnected() __attribute__((deprecated("Use !Serial instead"))) { return (bool) *this; }
84
};
85
86
#ifdef SERIAL_USB
0 commit comments