X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Fgoodfet.c;h=39c87532710e4f4b97014742b44f208cd28bbb86;hp=f82c5b3e5a235ddbab0b78db12640995622fab37;hb=23875462d82ae4a5b55c4e966e23d5196657378c;hpb=b311f78c8bcb981cefe794a321e98517f7a95a1a;ds=sidebyside diff --git a/firmware/goodfet.c b/firmware/goodfet.c index f82c5b3..39c8753 100644 --- a/firmware/goodfet.c +++ b/firmware/goodfet.c @@ -134,7 +134,7 @@ int main(void) app=serial_rx(); // If the app is the reset byte (0x80) increment and loop - if (app == 0x80) { + if (app == RESET) { reset_count++; if (reset_count > 4) {