Searched refs:log_buffer_pos (Results 1 – 1 of 1) sorted by relevance
27 uint16_t log_buffer_pos = 0; in modem_chat_log_received_command() local34 if (sizeof(log_buffer) < (log_buffer_pos + argv_len + 1)) { in modem_chat_log_received_command()40 memcpy(&log_buffer[log_buffer_pos], chat->argv[i], argv_len); in modem_chat_log_received_command()41 log_buffer_pos += argv_len; in modem_chat_log_received_command()42 log_buffer[log_buffer_pos] = ' '; in modem_chat_log_received_command()43 log_buffer_pos++; in modem_chat_log_received_command()47 log_buffer_pos = log_buffer_pos == 0 ? log_buffer_pos : log_buffer_pos - 1; in modem_chat_log_received_command()48 log_buffer[log_buffer_pos] = '\0'; in modem_chat_log_received_command()