@@ -23,7 +23,7 @@ CubeCell_NeoPixel pixels(1, RGB, NEO_GRB + NEO_KHZ800);
23
23
SH1107Wire display (0x3c , 500000 , SDA, SCL, GEOMETRY_128_64, GPIO10); // addr , freq , i2c group , resolution , rst
24
24
25
25
uint8_t ifDisplayAck=0 ;
26
- uint8_t isDispayOn =0 ;
26
+ uint8_t isDisplayOn =0 ;
27
27
#endif
28
28
29
29
#ifdef CubeCell_GPS
@@ -33,7 +33,7 @@ CubeCell_NeoPixel pixels(1, RGB, NEO_GRB + NEO_KHZ800);
33
33
SSD1306Wire display (0x3c , 500000 , SDA, SCL, GEOMETRY_128_64, GPIO10);; // addr , freq , i2c group , resolution , rst
34
34
35
35
uint8_t ifDisplayAck=0 ;
36
- uint8_t isDispayOn =0 ;
36
+ uint8_t isDisplayOn =0 ;
37
37
#endif
38
38
39
39
/* loraWan default Dr when adr disabled*/
@@ -247,7 +247,7 @@ void turnOffRGB(void)
247
247
{
248
248
turnOnRGB (0 ,0 );
249
249
#if defined(CubeCell_BoardPlus)||defined(CubeCell_GPS)
250
- if (isDispayOn == 0 )
250
+ if (isDisplayOn == 0 )
251
251
{
252
252
digitalWrite (Vext,HIGH);
253
253
}
@@ -393,7 +393,7 @@ static void MlmeConfirm( MlmeConfirm_t *mlmeConfirm )
393
393
turnOffRGB ();
394
394
#endif
395
395
#if defined(CubeCell_BoardPlus)||defined(CubeCell_GPS)
396
- if (isDispayOn )
396
+ if (isDisplayOn )
397
397
{
398
398
LoRaWAN.displayJoined ();
399
399
}
@@ -754,7 +754,7 @@ void LoRaWanClass::displayJoined()
754
754
}
755
755
void LoRaWanClass::displaySending ()
756
756
{
757
- isDispayOn = 1 ;
757
+ isDisplayOn = 1 ;
758
758
digitalWrite (Vext,LOW);
759
759
display.init ();
760
760
display.setFont (ArialMT_Plain_16);
@@ -788,14 +788,14 @@ void LoRaWanClass::displayAck()
788
788
if (loraWanClass==CLASS_A)
789
789
{
790
790
delay (2000 );
791
- isDispayOn = 0 ;
791
+ isDisplayOn = 0 ;
792
792
digitalWrite (Vext,HIGH);
793
793
display.stop ();
794
794
}
795
795
}
796
796
void LoRaWanClass::displayMcuInit ()
797
797
{
798
- isDispayOn = 1 ;
798
+ isDisplayOn = 1 ;
799
799
digitalWrite (Vext,LOW);
800
800
display.init ();
801
801
display.setFont (ArialMT_Plain_16);
0 commit comments