Skip to content

Commit

Permalink
ota: define missing prototypes
Browse files Browse the repository at this point in the history
  • Loading branch information
mcspr committed Sep 18, 2019
1 parent 12356dc commit 0880125
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/espurna/ota_base.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#pragma once

void otaDebugProgress(unsigned int bytes);
void otaDebugError();

bool otaBegin();
bool otaWrite(uint8_t* data, size_t len);
bool otaEnd(size_t size, unsigned char reset_reason = 0);

0 comments on commit 0880125

Please sign in to comment.