Skip to content

Commit

Permalink
Fixed: warning: extra tokens at end of #endif directive
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrazio committed Mar 24, 2016
1 parent c80e5ac commit 80f221e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Marlin/ultralcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ void lcd_set_home_offsets() {
#if ENABLED(BABYSTEPPING)

static void _lcd_babystep(const int axis, const char* msg) {
ENCODER_DIRECTION_NORMAL();
ENCODER_DIRECTION_NORMAL();
if (encoderPosition != 0) {
encoderPosition = 0;
lcdDrawUpdate = 1;
Expand Down Expand Up @@ -901,7 +901,7 @@ float move_menu_scale;
static void lcd_move_menu_axis();

static void _lcd_move(const char* name, AxisEnum axis, int min, int max) {
ENCODER_DIRECTION_NORMAL();
ENCODER_DIRECTION_NORMAL();
if ((encoderPosition != 0) && (movesplanned() <= 3)) {
refresh_cmd_timeout();
current_position[axis] += float((int)encoderPosition) * move_menu_scale;
Expand Down Expand Up @@ -929,7 +929,7 @@ static void lcd_move_e(
uint8_t e
#endif
) {
ENCODER_DIRECTION_NORMAL();
ENCODER_DIRECTION_NORMAL();
#if EXTRUDERS > 1
unsigned short original_active_extruder = active_extruder;
active_extruder = e;
Expand Down Expand Up @@ -1092,7 +1092,7 @@ static void lcd_control_menu() {
enqueue_and_echo_command_now(cmd);
}

#endif PIDTEMP || PIDTEMPBED
#endif //PIDTEMP || PIDTEMPBED

#if ENABLED(PIDTEMP)

Expand Down Expand Up @@ -1514,7 +1514,7 @@ static void lcd_control_volumetric_menu() {
*
*
* Also: MENU_MULTIPLIER_ITEM_EDIT, MENU_ITEM_EDIT_CALLBACK, and MENU_MULTIPLIER_ITEM_EDIT_CALLBACK
*
*
* menu_action_setting_edit_int3(PSTR(MSG_SPEED), &feedrate_multiplier, 10, 999)
*/
#define menu_edit_type(_type, _name, _strFunc, scale) \
Expand Down Expand Up @@ -2380,7 +2380,7 @@ char* ftostr52(const float& x) {
* - Click saves the Z and goes to the next mesh point
*/
static void _lcd_level_bed() {
ENCODER_DIRECTION_NORMAL();
ENCODER_DIRECTION_NORMAL();
if ((encoderPosition != 0) && (movesplanned() <= 3)) {
refresh_cmd_timeout();
current_position[Z_AXIS] += float((int)encoderPosition) * (MBL_Z_STEP);
Expand Down

0 comments on commit 80f221e

Please sign in to comment.