Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: modem_ref_v5_3_217 WizziCom WizziDebug ram_fs
Revision 71:6f03605e039b, committed 2021-01-25
- Comitter:
- Jeej
- Date:
- Mon Jan 25 12:43:00 2021 +0000
- Parent:
- 70:6d605fe75dc1
- Commit message:
- Minor changes
Changed in this revision
| modem_ref_helper.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/modem_ref_helper.h Mon Jan 25 11:24:00 2021 +0000
+++ b/modem_ref_helper.h Mon Jan 25 12:43:00 2021 +0000
@@ -29,7 +29,7 @@
#define DEFAULT_ROOT_KEY {206, 87, 116, 11, 4, 30, 202, 254, 206, 87, 116, 11, 4, 30, 202, 254}
#define MODEM_TIMEOUT 1000
-#define MODEM_WAIT_RESP(_s) if (!_s.try_acquire_for(MODEM_TIMEOUT)) { PRINT("Modem resp timeout line %d\n", __LINE__); }
+#define MODEM_WAIT_RESP(_s) do { if (!_s.try_acquire_for(MODEM_TIMEOUT)) { PRINT("Modem resp timeout line %d\n", __LINE__); } } while(0)
TYPEDEF_STRUCT_PACKED {
uint8_t type;