File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -362,7 +362,7 @@ void updateDisplay()
362362 const uint8_t * rtkMacAddress = getMacAddress ();
363363
364364 // Print only last two digits of MAC
365- sprintf (macAddress, " %02X%02X " , rtkMacAddress[ 4 ] , rtkMacAddress[5 ]);
365+ sprintf (macAddress, " %02X" , rtkMacAddress[5 ]);
366366 oled.setFont (QW_FONT_5X7); // Set font to smallest
367367 oled.setCursor (0 , 3 );
368368 oled.print (macAddress);
@@ -406,7 +406,7 @@ void updateDisplay()
406406 const uint8_t * rtkMacAddress = getMacAddress ();
407407
408408 // Print only last two digits of MAC
409- sprintf (macAddress, " %02X%02X " , rtkMacAddress[ 4 ] , rtkMacAddress[5 ]);
409+ sprintf (macAddress, " %02X" , rtkMacAddress[5 ]);
410410 oled.setFont (QW_FONT_5X7); // Set font to smallest
411411 oled.setCursor (14 , 3 );
412412 oled.print (macAddress);
You can’t perform that action at this time.
0 commit comments