Skip to content

Commit

Permalink
DTR flag is now saved on-change
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrazio committed May 7, 2019
1 parent cebacb8 commit e125f8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ardufocus/dtr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ void dtr_disable() {

void dtr_reset(const bool& value) {
g_config.dtr_reset = value;
eeprom_save(&g_config);
}

uint8_t dtr_reset_get() {
Expand Down

0 comments on commit e125f8d

Please sign in to comment.