Some PPI changes, should make the PPI behave consistently on hard reset.

This commit is contained in:
OBattler
2020-05-15 07:24:43 +02:00
parent d4f6a91e0a
commit 3d278b344f
3 changed files with 8 additions and 5 deletions

View File

@@ -20,8 +20,8 @@ PPI ppi;
int ppispeakon;
void ppi_reset(void)
void
ppi_reset(void)
{
ppi.pa=0x0;
ppi.pb=0x40;
memset(&ppi, 0x00, sizeof(PPI));
}