Skip to content

Commit

Permalink
added fallback version parameter. Fixes #73 #bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
pyr0ball committed Jun 15, 2020
1 parent c0527b9 commit 4c7ab3e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/pP_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ extern long voltMeterConstant; // For fine tuning input voltage sense
#define I2C_SLAVE_ADDRESS 24
extern uint8_t pP_i2c_address;

#ifndef PP_VERSION
#define PP_VERSION "2.3.1"
#endif // PP_VERSION fallback if python script fails

void eraseEEPROM();
void setDefaultConfig();
void restoreConfig();
Expand Down

0 comments on commit 4c7ab3e

Please sign in to comment.