Repetier Firmware on MKS GEN L

Hello, I am replacing my melzi board with an MKS GEN L V2.0.

I used the old firmware and so far I just edited the pins for the LCD.

I received this error:

uint8_t entType = HAL::readFlashByte((const prog_char*)&(ent->menuType));

found ui.cpp.

What does this code mean?

Thanks





Comments

  • You omitted the error message. The line reads the menu type from flash memory.
  • edited September 15
    THis is the error:

    ui.cpp:2124:43: error: expected ')' before 'const'
    exit status 1
    expected primary-expression before 'const'


  • Which firmware version are you compiling here with which arduino version? Current version does not have that line at 2124. Actually it doe snot contain it at all. And old firmware versions are not compatible with latest arduino ide/compiler.
Sign In or Register to comment.