Skip to content

Commit

Permalink
Added integration notification
Browse files Browse the repository at this point in the history
  • Loading branch information
Gipsonek committed Jul 28, 2020
1 parent 9ca85f6 commit b49f804
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions software/FossaSat1B/FossaSat1B.ino
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ void setup() {
}

// increment deployment counter
FOSSASAT_DEBUG_PORT.println(F("INTDONE"));
Persistent_Storage_Write<uint8_t>(EEPROM_DEPLOYMENT_COUNTER_ADDR, attemptNumber + 1);
Power_Control_Delay(DEPLOYMENT_SLEEP_LENGTH, true, true);

} else if(Persistent_Storage_Read<uint8_t>(EEPROM_DEPLOYMENT_COUNTER_ADDR) <= DEPLOYMENT_ATTEMPTS) {
// sleep before deployment
Expand Down

0 comments on commit b49f804

Please sign in to comment.