Merge pull request #623 from richardg867/master

Only update POST card if the POST code has actually changed
This commit is contained in:
OBattler
2020-03-25 00:14:14 +01:00
committed by GitHub

View File

@@ -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)