mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: drivers/AnalogIn.h
- Revision:
- 189:f392fc9709a3
- Parent:
- 188:bcfe06ba3d64
--- a/drivers/AnalogIn.h Thu Nov 08 11:46:34 2018 +0000 +++ b/drivers/AnalogIn.h Wed Feb 20 22:31:08 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_ANALOGIN) || defined(DOXYGEN_ONLY) +#if DEVICE_ANALOGIN || defined(DOXYGEN_ONLY) #include "hal/analogin_api.h" #include "platform/SingletonPtr.h" @@ -114,7 +115,7 @@ } protected: - #if !defined(DOXYGEN_ONLY) +#if !defined(DOXYGEN_ONLY) virtual void lock() { _mutex->lock(); @@ -127,7 +128,7 @@ analogin_t _adc; static SingletonPtr<PlatformMutex> _mutex; - #endif //!defined(DOXYGEN_ONLY) +#endif //!defined(DOXYGEN_ONLY) }; } // namespace mbed