Make sure that there is one space between if and condition

This commit is contained in:
Gregory Nutt 2014-04-12 12:53:19 -06:00
parent bce2e4b7bb
commit 8e9734e2ac
2 changed files with 19 additions and 16 deletions

View File

@ -207,7 +207,10 @@ static void fb_ssd1783_send_cmdlist(const struct ssd1783_cmdlist *p)
{
uint16_t sendcmd = p->data;
if (p->is_cmd == DATA)
{
sendcmd |= 0x0100; /* 9th bit is cmd/data flag */
}
uwire_xfer(SSD1783_DEV_ID, SSD1783_UWIRE_BITLEN, &sendcmd, NULL);
p++;
i++;