Guizz27 / Marlin---Longer-LKx-Pro

Marlin 2.0/2.1 for Longer LKx Pro. Should also work with Alfawise U30 Pro
http://marlinfw.org
GNU General Public License v3.0
37 stars 15 forks source link

Compiling with Linear advance #9

Closed Roman7603 closed 2 years ago

Roman7603 commented 2 years ago

Describe the bug I found a little bug in two lines:

Marlin\src\lcd\extui\dgus_reloaded\DGUSRxHandler.cpp:1197:10: error: 'setLinearAdvance_mm_mm_svalue' is not a member of 'ExtUI' correct is ExtUI::setLinearAdvance_mm_mm_s(value, ExtUI::extruder_t::E0);

Marlin\src\lcd\extui\dgus_reloaded\DGUSTxHandler.cpp:726:124: error: expected ',' or ';' before ')' token correct is: const int16_t data = dgus_display.ToFixedPoint<float, int16_t, 2>(ExtUI::getLinearAdvance_mm_mm_s(ExtUI::extruder_t::E0));

After corrections is everything ok

Thank You for your perfect work and time!

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

Guizz27 commented 2 years ago

Thank you very much. I made the fix for the compilation. :)