Platform: Add required header file and namespace element instead add all

pull/7864/head
Deepika 2018-09-05 10:15:41 -05:00
parent f55b929de9
commit 1d23843833
4 changed files with 8 additions and 3 deletions

View File

@ -39,6 +39,8 @@
#define CR 13
#endif
namespace mbed {
// getc/putc handling with timeouts
int ATCmdParser::putc(char c)
{
@ -434,4 +436,5 @@ bool ATCmdParser::process_oob()
}
}
}

View File

@ -20,9 +20,10 @@
#ifndef MBED_ATCMDPARSER_H
#define MBED_ATCMDPARSER_H
#include "mbed.h"
#include <cstdarg>
#include "Callback.h"
#include "NonCopyable.h"
#include "FileHandle.h"
namespace mbed {

View File

@ -14,10 +14,10 @@
* limitations under the License.
*/
#include "mbed.h"
#include "FileSystemHandle.h"
#include <errno.h>
namespace mbed {
int FileSystemHandle::open(DirHandle **dir, const char *path)
{
return -ENOSYS;
@ -47,3 +47,4 @@ int FileSystemHandle::statvfs(const char *path, struct statvfs *buf)
{
return -ENOSYS;
}
}

View File

@ -20,7 +20,7 @@
#include "platform/mbed_wait_api.h"
#include "hal/us_ticker_api.h"
#include "rtos/rtos.h"
#include "rtos/ThisThread.h"
#include "platform/mbed_critical.h"
#include "platform/mbed_power_mgmt.h"