Merge pull request #2138 from thinkyhead/tweak_swh

Fix a couple of doubled semicolons
This commit is contained in:
Scott Lahteine 2015-05-21 18:36:04 -07:00
commit 65343e8ae8
2 changed files with 2 additions and 2 deletions

View file

@ -1006,7 +1006,7 @@ void tp_init() {
void start_watching_heater(int e) { void start_watching_heater(int e) {
if (degHotend(e) < degTargetHotend(e) - (WATCH_TEMP_INCREASE + TEMP_HYSTERESIS + 1)) { if (degHotend(e) < degTargetHotend(e) - (WATCH_TEMP_INCREASE + TEMP_HYSTERESIS + 1)) {
watch_target_temp[e] = degHotend(e) + WATCH_TEMP_INCREASE; watch_target_temp[e] = degHotend(e) + WATCH_TEMP_INCREASE;
watch_heater_next_ms[e] = millis() + WATCH_TEMP_PERIOD * 1000;; watch_heater_next_ms[e] = millis() + WATCH_TEMP_PERIOD * 1000;
} }
else else
watch_heater_next_ms[e] = 0; watch_heater_next_ms[e] = 0;

View file

@ -396,7 +396,7 @@ char lcd_printPGM(const char* str) {
} }
char lcd_print(char* str) { char lcd_print(char* str) {
char c, n = 0;; char c, n = 0;
unsigned char i = 0; unsigned char i = 0;
while ((c = str[i++])) n += charset_mapper(c); while ((c = str[i++])) n += charset_mapper(c);
return n; return n;