Skip to content

Commit

Permalink
Fixed incorrect 'static' in CurrentLoopTemperatureSensor
Browse files Browse the repository at this point in the history
  • Loading branch information
dc42 committed Apr 20, 2020
1 parent 4e346ee commit 98740f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Heating/Sensors/CurrentLoopTemperatureSensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ TemperatureError CurrentLoopTemperatureSensor::TryGetLinearAdcTemperature(float&
*/

const uint8_t channelByte = ((isDifferential) ? 0x80 : 0xC0) | (chipChannel * 0x08);
static const uint8_t adcData[] = { channelByte, 0x00, 0x00 };
const uint8_t adcData[] = { channelByte, 0x00, 0x00 };
uint32_t rawVal;
TemperatureError rslt = DoSpiTransaction(adcData, 3, rawVal);
//debugPrintf("ADC data %u\n", rawVal);
Expand Down
2 changes: 1 addition & 1 deletion src/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#endif

#ifndef DATE
# define DATE "2020-04-20b5"
# define DATE "2020-04-20b6"
#endif

#define AUTHORS "reprappro, dc42, chrishamm, t3p3, dnewman, printm3d"
Expand Down

0 comments on commit 98740f1

Please sign in to comment.