mirror of https://github.com/ARMmbed/mbed-os.git
Platform: Add required header file and namespace element instead add all
parent
f55b929de9
commit
1d23843833
|
@ -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()
|
|||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue