1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2025-04-21 12:27:27 +03:00

fw/: pass limit also to "first" function of protocol handlers

This commit is contained in:
Werner Almesberger
2012-06-20 18:37:13 -03:00
parent 647f029775
commit 2011c515c8
3 changed files with 3 additions and 3 deletions

View File

@@ -61,7 +61,7 @@ static void add_payload(const uint8_t *payload)
}
static bool image_first(const uint8_t *payload)
static bool image_first(uint8_t limit, const uint8_t *payload)
{
hash_init();
hash_merge(image_secret, sizeof(image_secret));