File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- // Copyright 2015-2020 Espressif Systems (Shanghai) PTE LTD
1
+ // Copyright 2015-2024 Espressif Systems (Shanghai) PTE LTD
2
2
//
3
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
4
// you may not use this file except in compliance with the License.
@@ -47,7 +47,7 @@ class HWCDC: public Stream
47
47
{
48
48
private:
49
49
static bool deinit (void * busptr);
50
- bool isCDC_Connected ();
50
+ static bool isCDC_Connected ();
51
51
52
52
public:
53
53
HWCDC ();
@@ -71,12 +71,12 @@ class HWCDC: public Stream
71
71
size_t write (const uint8_t *buffer, size_t size);
72
72
void flush (void );
73
73
74
- inline bool isPlugged (void )
74
+ inline static bool isPlugged (void )
75
75
{
76
76
return usb_serial_jtag_is_connected ();
77
77
}
78
78
79
- inline bool isConnected (void )
79
+ inline static bool isConnected (void )
80
80
{
81
81
return isCDC_Connected ();
82
82
}
You can’t perform that action at this time.
0 commit comments