Skip to content

Commit 9f79e64

Browse files
committed
code spell checking - part2 (dependencies)
1 parent f513cae commit 9f79e64

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

wled00/src/dependencies/dmx/ESPDMX.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#define BREAKFORMAT SERIAL_8N1
2929

3030
bool dmxStarted = false;
31-
int sendPin = 2; //dafault on ESP8266
31+
int sendPin = 2; //default on ESP8266
3232

3333
//DMX value array and size. Entry 0 will hold startbyte
3434
uint8_t dmxDataStore[dmxMaxChannel] = {};

wled00/src/dependencies/time/DS1307RTC.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#define DS1307_CTRL_ID 0x68
3535

3636
// PUBLIC FUNCTIONS
37-
time_t DS1307RTC::get() // Aquire data from buffer and convert to time_t
37+
time_t DS1307RTC::get() // Acquire data from buffer and convert to time_t
3838
{
3939
tmElements_t tm;
4040
if (read(tm) == false) return 0;
@@ -48,7 +48,7 @@ bool DS1307RTC::set(time_t t)
4848
return write(tm);
4949
}
5050

51-
// Aquire data from the RTC chip in BCD format
51+
// Acquire data from the RTC chip in BCD format
5252
bool DS1307RTC::read(tmElements_t &tm)
5353
{
5454
uint8_t sec;

wled00/src/dependencies/time/Time.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ int year(time_t t) { // the year for the given time
101101

102102
/*============================================================================*/
103103
/* functions to convert to and from system time */
104-
/* These are for interfacing with time serivces and are not normally needed in a sketch */
104+
/* These are for interfacing with time services and are not normally needed in a sketch */
105105

106-
// leap year calulator expects year argument as years offset from 1970
106+
// leap year calculator expects year argument as years offset from 1970
107107
#define LEAP_YEAR(Y) ( ((1970+Y)>0) && !((1970+Y)%4) && ( ((1970+Y)%100) || !((1970+Y)%400) ) )
108108

109109
static const uint8_t monthDays[]={31,28,31,30,31,30,31,31,30,31,30,31}; // API starts months from 1, this array starts from 0
@@ -193,7 +193,7 @@ time_t makeTime(tmElements_t &tm){
193193
}
194194

195195
time_t getUnixTime(int hr,int min,int sec,int dy, int mnth, int yr){
196-
// year can be given as full four digit year or two digts (2010 or 10 for 2010);
196+
// year can be given as full four digit year or two digits (2010 or 10 for 2010);
197197
//it is converted to years since 1970
198198
if( yr > 99)
199199
yr = yr - 1970;

wled00/src/dependencies/timezone/Timezone.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
#include "Timezone.h"
1313

14-
//THIS LINE WAS ADDED FOR COMPATIBILY WITH THE WLED DEPENDENCY STRUCTURE. REMOVE IF YOU USE IT OUTSIDE OF WLED!
14+
//THIS LINE WAS ADDED FOR COMPATIBILITY WITH THE WLED DEPENDENCY STRUCTURE. REMOVE IF YOU USE IT OUTSIDE OF WLED!
1515
#include "../time/TimeLib.h"
1616

1717
#ifdef __AVR__

0 commit comments

Comments
 (0)