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 1818#ifndef USBCDC_ECM_H
1919#define USBCDC_ECM_H
2020
21+ #if defined(MBED_CONF_RTOS_PRESENT)
2122#include " USBDescriptor.h"
2223#include " USBDevice.h"
2324#include " ByteBuffer.h"
@@ -275,5 +276,5 @@ class USBCDC_ECM: public USBDevice {
275276};
276277
277278/* * @}*/
278-
279+ # endif // defined(MBED_CONF_RTOS_PRESENT)
279280#endif
Original file line number Diff line number Diff line change 1414 * See the License for the specific language governing permissions and
1515 * limitations under the License.
1616 */
17-
17+ # if defined(MBED_CONF_RTOS_PRESENT)
1818#include < stdint.h>
1919#include " USBCDC_ECM.h"
2020#include " EndpointResolver.h"
@@ -556,3 +556,4 @@ void USBCDC_ECM::_bulk_out_callback()
556556
557557 read_start (_bulk_out, _bulk_buf, MAX_PACKET_SIZE_BULK);
558558}
559+ #endif // defined(MBED_CONF_RTOS_PRESENT)
You can’t perform that action at this time.
0 commit comments