Просмотр исходного кода

Cleanup: Remove an old comment

Guðni Már Gilbert 3 лет назад
Родитель
Сommit
c1134e7e68
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      Firmware/mmu2_reporting.cpp

+ 0 - 2
Firmware/mmu2_reporting.cpp

@@ -64,7 +64,6 @@ static void ReportErrorHookStaticRender(uint8_t ei) {
     bool two_choices = false;
 
     // Read and determine what operations should be shown on the menu
-    // Note: uint16_t is used here to avoid compiler warning. uint8_t is only half the size of void*
     const uint8_t button_operation   = PrusaErrorButtons(ei);
     const uint8_t button_op_right = BUTTON_OP_RIGHT(button_operation);
     const uint8_t button_op_middle  = BUTTON_OP_MIDDLE(button_operation);
@@ -106,7 +105,6 @@ static uint8_t ReportErrorHookMonitor(uint8_t ei) {
     static int8_t enc_dif = 0;
 
     // Read and determine what operations should be shown on the menu
-    // Note: uint16_t is used here to avoid compiler warning. uint8_t is only half the size of void*
     const uint8_t button_operation   = PrusaErrorButtons(ei);
     const uint8_t button_op_right = BUTTON_OP_RIGHT(button_operation);
     const uint8_t button_op_middle  = BUTTON_OP_MIDDLE(button_operation);