{"issue":{"created_at":"2011-12-03T05:18:02Z","state":"closed","updated_at":"2011-12-03T08:07:40Z","comments":3,"user":{"gravatar_id":"b9ebf2a1644098b0b42a9841ea7b69db","id":1237561,"url":"https://api.github.com/users/Kalus1","avatar_url":"https://secure.gravatar.com/avatar/b9ebf2a1644098b0b42a9841ea7b69db?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"Kalus1"},"body":"I don't know what I've done wrong, but when I compile, Arduino 0023 comes up with the following error:\r\n\r\nExtruder.cpp: In function 'void extruder_set_temperature(int)':\r\nExtruder.cpp:259: error: lvalue required as left operand of assignment\r\n\r\nreferring to this part of the code:\r\n\r\n#if USE_OPS==1  \r\n  if(temp_celsius<(MIN_EXTRUDER_TEMP<<CELSIUS_EXTRA_BITS)) {\r\n    printer_state.filamentRetracted = false;\r\n    printmoveSeen = 0;\r\n    }\r\n#endif\r\n\r\nI then tried to compile with #define USE_OPS 2 and got the same error, so I tried #define USE_OPS 0 and got a slightly different one:\r\n\r\nRepetier.cpp: In function 'void__vector_9()':\r\nRepetier:1760: error: lvalue required as left operand of assignment\r\n\r\nreferring to:\r\n\r\n    if(current_extruder->currentTemperatureC>=MIN_EXTRUDER_TEMP<<CELSIUS_EXTRA_BITS) // Saftey first\r\n      extruder_step();\r\n  } else {\r\n    if(extruder_wait_dirchange)\r\n      extruder_wait_dirchange--;\r\n  }\r\n\r\n\r\n\r\nHave I done something completely wrong????\r\n\r\nCheers\r\nKyne\r\n\r\n","assignee":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"id":2436140,"number":2,"labels":[],"title":"Firmware compile error","html_url":"https://github.com/repetier/Repetier-Firmware/issues/2","closed_at":"2011-12-03T08:07:40Z","url":"https://api.github.com/repos/repetier/Repetier-Firmware/issues/2","milestone":null},"action":"closed"}