1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/at: remove deprecated AT_SEND_ECHO define

This commit is contained in:
Alexandre Abadie 2022-01-11 12:51:34 +01:00
parent f22ba30a31
commit 37bc47e21c
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 1 additions and 15 deletions

View File

@ -174,7 +174,7 @@ int at_send_cmd(at_dev_t *dev, const char *command, uint32_t timeout)
uart_write(dev->uart, (const uint8_t *)command, cmdlen);
uart_write(dev->uart, (const uint8_t *)CONFIG_AT_SEND_EOL, AT_SEND_EOL_LEN);
if (AT_SEND_ECHO) {
if (!IS_ACTIVE(CONFIG_AT_SEND_SKIP_ECHO)) {
if (at_expect_bytes(dev, command, timeout)) {
return -1;
}

View File

@ -98,20 +98,6 @@ extern "C" {
#define CONFIG_AT_SEND_SKIP_ECHO
#endif
/**
* @brief Enable/disable the expected echo after an AT command is sent.
*
* @deprecated Use inverse @ref CONFIG_AT_SEND_SKIP_ECHO instead.
* Will be removed after 2021.01 release.
*/
#ifndef AT_SEND_ECHO
#if IS_ACTIVE(CONFIG_AT_SEND_SKIP_ECHO)
#define AT_SEND_ECHO 0
#else
#define AT_SEND_ECHO 1
#endif
#endif
/**
* @brief 1st end of line character received (S3 aka CR character for a modem).
*/