Merge pull request #623 from richardg867/master
Only update POST card if the POST code has actually changed
This commit is contained in:
@@ -95,6 +95,9 @@ postcard_reset(void)
|
||||
static void
|
||||
postcard_write(uint16_t port, uint8_t val, void *priv)
|
||||
{
|
||||
if (postcard_written && val == postcard_code)
|
||||
return;
|
||||
|
||||
postcard_prev_code = postcard_code;
|
||||
postcard_code = val;
|
||||
if (postcard_written < 2)
|
||||
|
||||
Reference in New Issue
Block a user