Eliminate M100 compiler warnings?

This commit is contained in:
Scott Lahteine
2017-05-07 23:35:04 -05:00
parent fe1fce5f56
commit 8d961b51cc
2 changed files with 10 additions and 10 deletions

View File

@@ -9731,7 +9731,7 @@ void process_next_command() {
SERIAL_ECHOLN(current_command);
#if ENABLED(M100_FREE_MEMORY_WATCHER)
SERIAL_ECHOPAIR("slot:", cmd_queue_index_r);
M100_dump_routine(" Command Queue:", &command_queue[0][0], &command_queue[BUFSIZE][MAX_CMD_SIZE]);
M100_dump_routine(" Command Queue:", (const char*)command_queue, (const char*)(command_queue + sizeof(command_queue)));
#endif
}