Browse Source

Various typo fixes - only in comments, no code changes.

Cylindric 10 years ago
parent
commit
8f0cee2a14

+ 5
- 5
Marlin/LiquidCrystalRus.cpp View File

@@ -11,7 +11,7 @@
11 11
   #include "WProgram.h"
12 12
 #endif
13 13
 
14
-// it is a russian alphabet translation
14
+// it is a Russian alphabet translation
15 15
 // except 0401 --> 0xa2 = ╗, 0451 --> 0xb5
16 16
 const PROGMEM uint8_t utf_recode[] = 
17 17
        { 0x41,0xa0,0x42,0xa1,0xe0,0x45,0xa3,0xa4,0xa5,0xa6,0x4b,0xa7,0x4d,0x48,0x4f,
@@ -115,7 +115,7 @@ void LiquidCrystalRus::begin(uint8_t cols, uint8_t lines, uint8_t dotsize) {
115 115
 
116 116
   // SEE PAGE 45/46 FOR INITIALIZATION SPECIFICATION!
117 117
   // according to datasheet, we need at least 40ms after power rises above 2.7V
118
-  // before sending commands. Arduino can turn on way befer 4.5V so we'll wait 50
118
+  // before sending commands. Arduino can turn on way before 4.5V so we'll wait 50
119 119
   delayMicroseconds(50000); 
120 120
   // Now we pull both RS and R/W low to begin commands
121 121
   digitalWrite(_rs_pin, LOW);
@@ -126,7 +126,7 @@ void LiquidCrystalRus::begin(uint8_t cols, uint8_t lines, uint8_t dotsize) {
126 126
   
127 127
   //put the LCD into 4 bit or 8 bit mode
128 128
   if (! (_displayfunction & LCD_8BITMODE)) {
129
-    // this is according to the hitachi HD44780 datasheet
129
+    // this is according to the Hitachi HD44780 datasheet
130 130
     // figure 24, pg 46
131 131
 
132 132
     // we start in 8bit mode, try to set 4 bit mode
@@ -144,7 +144,7 @@ void LiquidCrystalRus::begin(uint8_t cols, uint8_t lines, uint8_t dotsize) {
144 144
     // finally, set to 8-bit interface
145 145
     writeNbits(0x02,4); 
146 146
   } else {
147
-    // this is according to the hitachi HD44780 datasheet
147
+    // this is according to the Hitachi HD44780 datasheet
148 148
     // page 45 figure 23
149 149
 
150 150
     // Send function set command sequence
@@ -308,7 +308,7 @@ inline void LiquidCrystalRus::command(uint8_t value) {
308 308
     }    
309 309
   } else send(out_char, HIGH);
310 310
 #if defined(ARDUINO) && ARDUINO >= 100
311
-  return 1; // assume sucess 
311
+  return 1; // assume success 
312 312
 #endif
313 313
 }
314 314
 

+ 2
- 2
Marlin/MarlinSerial.cpp View File

@@ -25,7 +25,7 @@
25 25
 
26 26
 #ifndef AT90USB
27 27
 // this next line disables the entire HardwareSerial.cpp, 
28
-// this is so I can support Attiny series and any other chip without a uart
28
+// this is so I can support Attiny series and any other chip without a UART
29 29
 #if defined(UBRRH) || defined(UBRR0H) || defined(UBRR1H) || defined(UBRR2H) || defined(UBRR3H)
30 30
 
31 31
 #if UART_PRESENT(SERIAL_PORT)
@@ -73,7 +73,7 @@ void MarlinSerial::begin(long baud)
73 73
   bool useU2X = true;
74 74
 
75 75
 #if F_CPU == 16000000UL && SERIAL_PORT == 0
76
-  // hardcoded exception for compatibility with the bootloader shipped
76
+  // hard coded exception for compatibility with the bootloader shipped
77 77
   // with the Duemilanove and previous boards and the firmware on the 8U2
78 78
   // on the Uno and Mega 2560.
79 79
   if (baud == 57600) {

+ 3
- 3
Marlin/cardreader.cpp View File

@@ -22,7 +22,7 @@ CardReader::CardReader()
22 22
    file_subcall_ctr=0;
23 23
    memset(workDirParents, 0, sizeof(workDirParents));
24 24
 
25
-   autostart_stilltocheck=true; //the sd start is delayed, because otherwise the serial cannot answer fast enought to make contact with the hostsoftware.
25
+   autostart_stilltocheck=true; //the SD start is delayed, because otherwise the serial cannot answer fast enough to make contact with the host software.
26 26
    lastnr=0;
27 27
   //power to SD reader
28 28
   #if SDPOWER > -1
@@ -245,7 +245,7 @@ void CardReader::openFile(char* name,bool read, bool replace_current/*=true*/)
245 245
 {
246 246
   if(!cardOK)
247 247
     return;
248
-  if(file.isOpen())  //replaceing current file by new file, or subfile call
248
+  if(file.isOpen())  //replacing current file by new file, or subfile call
249 249
   {
250 250
     if(!replace_current)
251 251
     {
@@ -544,7 +544,7 @@ void CardReader::closefile(bool store_location)
544 544
   
545 545
   if(store_location)
546 546
   {
547
-    //future: store printer state, filename and position for continueing a stoped print
547
+    //future: store printer state, filename and position for continuing a stopped print
548 548
     // so one can unplug the printer and continue printing the next day.
549 549
     
550 550
   }

+ 4
- 4
Marlin/ultralcd_st7920_u8glib_rrd.h View File

@@ -12,8 +12,8 @@
12 12
 #define ST7920_DAT_PIN  LCD_PINS_ENABLE
13 13
 #define ST7920_CS_PIN   LCD_PINS_RS
14 14
 
15
-//#define PAGE_HEIGHT 8   //128 byte frambuffer
16
-//#define PAGE_HEIGHT 16  //256 byte frambuffer
15
+//#define PAGE_HEIGHT 8   //128 byte framebuffer
16
+//#define PAGE_HEIGHT 16  //256 byte framebuffer
17 17
 #define PAGE_HEIGHT 32  //512 byte framebuffer
18 18
 
19 19
 #define WIDTH 128
@@ -59,8 +59,8 @@ uint8_t u8g_dev_rrd_st7920_128x64_fn(u8g_t *u8g, u8g_dev_t *dev, uint8_t msg, vo
59 59
         ST7920_SET_CMD();
60 60
         ST7920_WRITE_BYTE(0x08);       //display off, cursor+blink off
61 61
         ST7920_WRITE_BYTE(0x01);       //clear CGRAM ram
62
-        u8g_Delay(10);                 //delay for cgram clear
63
-        ST7920_WRITE_BYTE(0x3E);       //extended mode + gdram active
62
+        u8g_Delay(10);                 //delay for CGRAM clear
63
+        ST7920_WRITE_BYTE(0x3E);       //extended mode + GDRAM active
64 64
         for(y=0;y<HEIGHT/2;y++)        //clear GDRAM
65 65
         {
66 66
           ST7920_WRITE_BYTE(0x80|y);   //set y

+ 2
- 2
Marlin/watchdog.h View File

@@ -4,9 +4,9 @@
4 4
 #include "Marlin.h"
5 5
 
6 6
 #ifdef USE_WATCHDOG
7
-  // intialise watch dog with a 1 sec interrupt time
7
+  // initialize watch dog with a 1 sec interrupt time
8 8
   void watchdog_init();
9
-  // pad the dog/reset watchdog. MUST be called at least every second after the first watchdog_init or avr will go into emergency procedures..
9
+  // pad the dog/reset watchdog. MUST be called at least every second after the first watchdog_init or AVR will go into emergency procedures..
10 10
   void watchdog_reset();
11 11
 #else
12 12
   //If we do not have a watchdog, then we can have empty functions which are optimized away.

Loading…
Cancel
Save