makerbase-mks/MKS-Robin-Nano-Firmware

Can't compile 2.x.x.

X-Dron opened this issue · 0 comments

  1. I can't compile main.cpp.
main.cpp  
Error[Pe040]: expected an identifier E:\Temp\MKS-Robin-Nano-Firmware-Nano-firmware-v2.x.x\Src\main.cpp 74 
Error[Pe020]: identifier "setTouchBound" is  E:\Temp\MKS-Robin-Nano-Firmware-Nano-firmware-v2.x.x\Src\main.cpp 260 
undefined 
Error while running C/C++ Compiler 

image

if comment
//extern "C"void setTouchBound(int32_t x0, int32_t x1, int32_t y0, int32_t y1 ); ... //setTouchBound(gCfgItems.touch_adj_xMin, gCfgItems.touch_adj_xMax, gCfgItems.touch_adj_yMax, gCfgItems.touch_adj_yMin);
firmware compiled ok, and starts on HW 1.1.

  1. If I want to compile for HW 1.1, do I need to define V1_0_V1_1?
    image