Skip to content

Commit

Permalink
Merge pull request #41 from matsstaff/work
Browse files Browse the repository at this point in the history
Fix auto upload fahrenheit
  • Loading branch information
matsstaff committed Sep 28, 2014
2 parents deb2a48 + 2f8cac8 commit cdc6ccc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions picprog.ino
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ extern const char hex_fahrenheit[] PROGMEM;
extern const char hex_eeprom_celsius[] PROGMEM;
extern const char hex_eeprom_fahrenheit[] PROGMEM;

/* Uncomment to enable automatic upload of Fahrenheit version */
//#define AUTOMATIC_UPLOAD_FAHRENHEIT
/* Uncomment to enable automatic upload of Celsius version */
//#define AUTOMATIC_UPLOAD_CELSIUS
/* Set to 1 to enable automatic upload of Fahrenheit version */
#define AUTOMATIC_UPLOAD_FAHRENHEIT 0
/* Set to 1 to enable automatic upload of Celsius version */
#define AUTOMATIC_UPLOAD_CELSIUS 0

void setup() {
pinMode(ICSPCLK, INPUT);
Expand All @@ -100,7 +100,7 @@ void setup() {
Serial.println("");
Serial.println("Send 'd' to check for STC-1000");

#ifdef AUTOMATIC_UPLOAD_CELSIUS || AUTOMATIC_UPLOAD_FAHRENHEIT
#if AUTOMATIC_UPLOAD_CELSIUS || AUTOMATIC_UPLOAD_FAHRENHEIT
{
unsigned int magic, ver, deviceid;
delay(100); // Make sure STC has time to wake up.
Expand Down

0 comments on commit cdc6ccc

Please sign in to comment.