update core

This commit is contained in:
Logan McNaughton committed 2022-07-13 23:06:01 -06:00
1 parent a92e3a6ee0
commit 4d631e5628
1 file changed
+1 -1
+1 -1
View File
@@ -373,7 +373,7 @@ static void update_pif_counter(struct pif* pif)
uint32_t input_updated = 0;
for (int i = 0; i < 4; ++i)
{
if (pif->channels[i].tx && pif->channels[i].tx_buf[0] & (JCMD_CONTROLLER_READ))
if (pif->channels[i].tx && (pif->channels[i].tx_buf[0] == JCMD_CONTROLLER_READ))
input_updated = 1;
}
if (input_updated)