File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed
features/cellular/framework/AT/athandler Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -618,6 +618,7 @@ TEST_F(TestATHandler, test_ATHandler_read_string)
618
618
// *** Reading more than available in buffer ***
619
619
at.clear_error ();
620
620
char table4[] = " \" s,\" OK\r\n\0 " ;
621
+ mbed_poll_stub::int_value = 0 ;
621
622
at.flush ();
622
623
filehandle_stub_table = table4;
623
624
filehandle_stub_table_pos = 0 ;
@@ -741,6 +742,7 @@ TEST_F(TestATHandler, test_ATHandler_read_string)
741
742
// *** CRLF part of the string ***
742
743
at.clear_error ();
743
744
char table10[] = " \" s\"\r\n OK\r\n\0 " ;
745
+ mbed_poll_stub::int_value = 0 ;
744
746
at.flush ();
745
747
filehandle_stub_table = table10;
746
748
filehandle_stub_table_pos = 0 ;
Original file line number Diff line number Diff line change
1
+
2
+ /* mbed Microcontroller Library
3
+ * Copyright (c) 2018 ARM Limited
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ #ifndef MBED_WAIT_API_H
18
+ #define MBED_WAIT_API_H
19
+
20
+ #ifdef __cplusplus
21
+ extern "C" {
22
+ #endif
23
+
24
+ void wait_ms (int ms );
25
+
26
+ void wait_us (int us );
27
+
28
+ #ifdef __cplusplus
29
+ }
30
+ #endif
31
+
32
+ #endif
33
+
You can’t perform that action at this time.
0 commit comments