Skip to content

Commit

Permalink
change2
Browse files Browse the repository at this point in the history
  • Loading branch information
bwalex committed Sep 4, 2017
1 parent 5dfc331 commit 0ed05c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hal_pic18.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void spi_write(unsigned char v)
SSPCON1bits.WCOL = 0;
SSPBUF = v;
} while( SSPCON1bits.WCOL );

while( PIR1bits.SSPIF == 0 );
}

Expand Down

0 comments on commit 0ed05c2

Please sign in to comment.