Searched refs:log_buffer_pos (Results 1 – 1 of 1) sorted by relevance
34 uint16_t log_buffer_pos = 0; in modem_chat_log_received_command() local41 if (sizeof(log_buffer) < (log_buffer_pos + argv_len + 1)) { in modem_chat_log_received_command()47 memcpy(&log_buffer[log_buffer_pos], chat->argv[i], argv_len); in modem_chat_log_received_command()48 log_buffer_pos += argv_len; in modem_chat_log_received_command()49 log_buffer[log_buffer_pos] = ' '; in modem_chat_log_received_command()50 log_buffer_pos++; in modem_chat_log_received_command()54 log_buffer_pos = log_buffer_pos == 0 ? log_buffer_pos : log_buffer_pos - 1; in modem_chat_log_received_command()55 log_buffer[log_buffer_pos] = '\0'; in modem_chat_log_received_command()