mirror of
https://gitlab.com/mobian1/eg25-manager.git
synced 2025-08-29 15:22:20 +02:00
at: remove call to g_strstrip before sending commando
This log statement called g_strstrip before sending the command, which caused it to fail because it doesn't send the newline required to run it.
This commit is contained in:
2
src/at.c
2
src/at.c
@@ -83,8 +83,6 @@ gboolean at_send_command(struct EG25Manager *manager)
|
|||||||
|
|
||||||
manager->at_callback = at_cmd->callback;
|
manager->at_callback = at_cmd->callback;
|
||||||
|
|
||||||
g_message("Sending command: %s", g_strstrip(command));
|
|
||||||
|
|
||||||
do {
|
do {
|
||||||
ret = write(manager->at_fd, &command[pos], len);
|
ret = write(manager->at_fd, &command[pos], len);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user