Fix matrix.debug output

This commit is contained in:
Scott Lahteine 2018-03-18 20:03:25 -05:00
parent 07b1ac06a9
commit 5793ca42b5

View File

@ -146,7 +146,10 @@ matrix_3x3 matrix_3x3::transpose(matrix_3x3 original) {
}
void matrix_3x3::debug(const char * const title) {
serialprintPGM(title);
if (title != NULL) {
serialprintPGM(title);
SERIAL_EOL();
}
uint8_t count = 0;
for (uint8_t i = 0; i < 3; i++) {
for (uint8_t j = 0; j < 3; j++) {