Skip to content

Commit 2e69c61

Browse files
committed
[Sigfox] rename temperatureInternal to internalTemperature
1 parent 4d2ed97 commit 2e69c61

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

examples/FirstConfiguration/FirstConfiguration.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void setup() {
3737
Serial.println("");
3838

3939
Serial.print("Module temperature: ");
40-
Serial.println(SigFox.temperatureInternal());
40+
Serial.println(SigFox.internalTemperature());
4141

4242
Serial.println("Register your board on https://backend.sigfox.com/activate with provided ID and PAC");
4343

examples/WeatherMonitor/WeatherMonitor.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ void loop() {
130130
delay(100);
131131

132132
// We can only read the module temperature before SigFox.end()
133-
temperature = SigFox.temperatureInternal();
133+
temperature = SigFox.internalTemperature();
134134
msg.moduleTemperature = convertoFloatToInt16(temperature, 60, -60);
135135

136136
if (oneshot == true) {

keywords.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ send KEYWORD2
1818
receive KEYWORD2
1919
status KEYWORD2
2020
setMode KEYWORD2
21-
temperatureInternal KEYWORD2
21+
internalTemperature KEYWORD2
2222
reset KEYWORD2
2323
AtmVersion KEYWORD2
2424
SigVersion KEYWORD2

src/SigFox.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ void SIGFOXClass::status()
366366
delay(1);
367367
}
368368

369-
float SIGFOXClass::temperatureInternal()
369+
float SIGFOXClass::internalTemperature()
370370
{
371371
digitalWrite(chip_select_pin, LOW);
372372
delay(1);

src/SigFox.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ class SIGFOXClass : public Stream
129129
*/
130130
void reset();
131131

132-
float temperatureInternal();
132+
float internalTemperature();
133133

134134
/*
135135
* Disable module

0 commit comments

Comments
 (0)