Skip to content

Commit c107c7e

Browse files
Merge pull request #300 from Mr-HaleYa/fix-typos
Fix typos
2 parents e7066dd + 8ad1aa6 commit c107c7e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The currently supported ASR650x chip product models are:
3434
- Convert ASR650x series to a new branch;
3535
- Add ASR6601 series support and makes it as master branch;
3636
- Added and fixed some function to Arduino format, such as:
37-
- `int analogRead(pin)` -- return adc level 0 ~ 4096;
37+
- `int analogRead(pin)` -- return adc level 0 ~ 4095;
3838
- `float analogReadmV(pin)` -- return adc voltage in mV;
3939
- *The ASR650x series ADC input pin range is 0 ~ 2400 mV*;
4040
- *The ASR6601 series ADC input pin range is 100 ~ 1100 mV.*

libraries/LoRa/src/LoRaWan_APP.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ CubeCell_NeoPixel pixels(1, RGB, NEO_GRB + NEO_KHZ800);
2323
SH1107Wire display(0x3c, 500000, SDA, SCL, GEOMETRY_128_64, GPIO10); // addr , freq , i2c group , resolution , rst
2424

2525
uint8_t ifDisplayAck=0;
26-
uint8_t isDispayOn=0;
26+
uint8_t isDisplayOn=0;
2727
#endif
2828

2929
#ifdef CubeCell_GPS
@@ -33,7 +33,7 @@ CubeCell_NeoPixel pixels(1, RGB, NEO_GRB + NEO_KHZ800);
3333
SSD1306Wire display(0x3c, 500000, SDA, SCL, GEOMETRY_128_64, GPIO10);; // addr , freq , i2c group , resolution , rst
3434

3535
uint8_t ifDisplayAck=0;
36-
uint8_t isDispayOn=0;
36+
uint8_t isDisplayOn=0;
3737
#endif
3838

3939
/*loraWan default Dr when adr disabled*/
@@ -247,7 +247,7 @@ void turnOffRGB(void)
247247
{
248248
turnOnRGB(0,0);
249249
#if defined(CubeCell_BoardPlus)||defined(CubeCell_GPS)
250-
if(isDispayOn == 0)
250+
if(isDisplayOn == 0)
251251
{
252252
digitalWrite(Vext,HIGH);
253253
}
@@ -393,7 +393,7 @@ static void MlmeConfirm( MlmeConfirm_t *mlmeConfirm )
393393
turnOffRGB();
394394
#endif
395395
#if defined(CubeCell_BoardPlus)||defined(CubeCell_GPS)
396-
if(isDispayOn)
396+
if(isDisplayOn)
397397
{
398398
LoRaWAN.displayJoined();
399399
}
@@ -754,7 +754,7 @@ void LoRaWanClass::displayJoined()
754754
}
755755
void LoRaWanClass::displaySending()
756756
{
757-
isDispayOn = 1;
757+
isDisplayOn = 1;
758758
digitalWrite(Vext,LOW);
759759
display.init();
760760
display.setFont(ArialMT_Plain_16);
@@ -788,14 +788,14 @@ void LoRaWanClass::displayAck()
788788
if(loraWanClass==CLASS_A)
789789
{
790790
delay(2000);
791-
isDispayOn = 0;
791+
isDisplayOn = 0;
792792
digitalWrite(Vext,HIGH);
793793
display.stop();
794794
}
795795
}
796796
void LoRaWanClass::displayMcuInit()
797797
{
798-
isDispayOn = 1;
798+
isDisplayOn = 1;
799799
digitalWrite(Vext,LOW);
800800
display.init();
801801
display.setFont(ArialMT_Plain_16);

0 commit comments

Comments
 (0)