The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
Diff: drivers/PwmOut.h
- Revision:
- 172:65be27845400
- Parent:
- 171:3a7713b1edbc
--- a/drivers/PwmOut.h Thu Nov 08 11:45:42 2018 +0000 +++ b/drivers/PwmOut.h Wed Feb 20 20:53:29 2019 +0000 @@ -1,5 +1,6 @@ /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,7 +19,7 @@ #include "platform/platform.h" -#if defined (DEVICE_PWMOUT) || defined(DOXYGEN_ONLY) +#if DEVICE_PWMOUT || defined(DOXYGEN_ONLY) #include "hal/pwmout_api.h" #include "platform/mbed_critical.h" #include "platform/mbed_power_mgmt.h"