mirror of https://github.com/ARMmbed/mbed-os.git
Cellular: fixed athandler unit tests.
parent
a463b075db
commit
6533c98983
|
@ -20,6 +20,7 @@ TEST_SRC_FILES = \
|
|||
../../stubs/mbed_poll_stub.cpp \
|
||||
../../stubs/Timer_stub.cpp \
|
||||
../../stubs/equeue_stub.cpp \
|
||||
../../stubs/Kernel.cpp \
|
||||
|
||||
include ../../MakefileWorker.mk
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ device_err_t ATHandler_stub::device_err_value;
|
|||
Callback<void()> ATHandler_stub::callback = NULL;
|
||||
uint8_t ATHandler_stub::resp_info_true_counter = false;
|
||||
|
||||
ATHandler::ATHandler(FileHandle *fh, EventQueue &queue, int timeout, const char *output_delimiter) :
|
||||
ATHandler::ATHandler(FileHandle *fh, EventQueue &queue, int timeout, const char *output_delimiter, uint16_t send_delay) :
|
||||
_nextATHandler(0),
|
||||
_fileHandle(fh),
|
||||
_queue(queue)
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* Copyright (c) , Arm Limited and affiliates.
|
||||
* 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.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
#include "Kernel.h"
|
||||
|
||||
namespace rtos {
|
||||
|
||||
uint64_t Kernel::get_ms_count()
|
||||
{
|
||||
return 20;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue