Skip to content

Commit

Permalink
cleanup & fix st7920 simulator (add klipper support) (#705)
Browse files Browse the repository at this point in the history
* fix bug
* improve st7920 simulator for klipper
  • Loading branch information
Msq001 committed May 23, 2020
1 parent 3c34d65 commit e6d8218
Show file tree
Hide file tree
Showing 19 changed files with 813 additions and 129 deletions.
4 changes: 2 additions & 2 deletions TFT/src/User/API/Colors.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "Colors.h"
#include "Colors.h"

const u32 lcd_colors[LCD_COLOR_COUNT] = {
WHITE,
Expand Down Expand Up @@ -37,4 +37,4 @@ const LABEL lcd_color_names[LCD_COLOR_COUNT] =
LABEL_DARKGREEN,
LABEL_GRAY,
LABEL_DARKGRAY
};
};
2 changes: 1 addition & 1 deletion TFT/src/User/API/LCD_Encoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ bool encoder_CheckState(void);
void sendEncoder(uint8_t num);
void loopCheckEncoder(void);

#endif
#endif
2 changes: 1 addition & 1 deletion TFT/src/User/API/UI/Numpad.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,4 +234,4 @@ u32 numPadInt(u32 old_val)
}
loopBackEnd();
}
}
}
2 changes: 1 addition & 1 deletion TFT/src/User/API/UI/Numpad.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ float numPadFloat(float old_val, bool negative_val);

u32 numPadInt(u32 old_val);

#endif
#endif
Loading

0 comments on commit e6d8218

Please sign in to comment.