close the night...

This commit is contained in:
InsanityAutomation
2019-03-17 01:00:47 -04:00
parent cddbd1c6b4
commit 53e9e8c7b3
2 changed files with 9 additions and 1 deletions
+2
View File
@@ -531,6 +531,8 @@
#if ENABLED(ULTIPANEL) || ENABLED(EXTENSIBLE_UI)
#define MANUAL_FEEDRATE {50*60, 50*60, 4*60, 60} // Feedrates for manual moves along X, Y, Z, E from panel
#endif
#if ENABLED(ULTIPANEL)
#define MANUAL_E_MOVES_RELATIVE // Show LCD extruder moves as relative rather than absolute positions
#define ULTIPANEL_FEEDMULTIPLY // Comment to disable setting feedrate multiplier via encoder
#endif
@@ -60,10 +60,10 @@ bool PoweroffContinue = false;
extern const char *injected_commands_P;
char commandbuf[30];
//RTSSHOW rtscheck;
void onStartup() {
Serial2.begin(115200);
LanguageRecbuf = 0; //Force language to English, 1=Chinese but currently not implemented
AutoLevelStatus = 1; //Set auto leveling on
int showcount = 0;
@@ -382,6 +382,12 @@ char commandbuf[30];
}
RTSSHOW::RTSSHOW(){
recdat.head[0] = snddat.head[0] = FHONE;
recdat.head[1] = snddat.head[1] = FHTWO;
memset(databuf,0, sizeof(databuf));
}
int RTSSHOW::RTS_RecData()
{
while(Serial2.available() > 0 && (recnum < SizeofDatabuf))