File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 18
18
#ifndef USBCDC_ECM_H
19
19
#define USBCDC_ECM_H
20
20
21
+ #if defined(MBED_CONF_RTOS_PRESENT)
21
22
#include " USBDescriptor.h"
22
23
#include " USBDevice.h"
23
24
#include " ByteBuffer.h"
@@ -275,5 +276,5 @@ class USBCDC_ECM: public USBDevice {
275
276
};
276
277
277
278
/* * @}*/
278
-
279
+ # endif // defined(MBED_CONF_RTOS_PRESENT)
279
280
#endif
Original file line number Diff line number Diff line change 14
14
* See the License for the specific language governing permissions and
15
15
* limitations under the License.
16
16
*/
17
-
17
+ # if defined(MBED_CONF_RTOS_PRESENT)
18
18
#include < stdint.h>
19
19
#include " USBCDC_ECM.h"
20
20
#include " EndpointResolver.h"
@@ -556,3 +556,4 @@ void USBCDC_ECM::_bulk_out_callback()
556
556
557
557
read_start (_bulk_out, _bulk_buf, MAX_PACKET_SIZE_BULK);
558
558
}
559
+ #endif // defined(MBED_CONF_RTOS_PRESENT)
You can’t perform that action at this time.
0 commit comments