| .. | .. |
|---|
| 33 | 33 | u32 lastWrite; |
|---|
| 34 | 34 | }; |
|---|
| 35 | 35 | |
|---|
| 36 | | -/* The Typoon transmit ring -- same as a basic ring, plus: |
|---|
| 36 | +/* The Typhoon transmit ring -- same as a basic ring, plus: |
|---|
| 37 | 37 | * lastRead: where we're at in regard to cleaning up the ring |
|---|
| 38 | 38 | * writeRegister: register to use for writing (different for Hi & Lo rings) |
|---|
| 39 | 39 | */ |
|---|
| .. | .. |
|---|
| 366 | 366 | memset(_ptr, 0, sizeof(struct cmd_desc)); \ |
|---|
| 367 | 367 | _ptr->flags = TYPHOON_CMD_DESC | TYPHOON_DESC_VALID; \ |
|---|
| 368 | 368 | _ptr->cmd = command; \ |
|---|
| 369 | | - } while(0) |
|---|
| 369 | + } while (0) |
|---|
| 370 | 370 | |
|---|
| 371 | 371 | /* We set seqNo to 1 if we're expecting a response from this command */ |
|---|
| 372 | 372 | #define INIT_COMMAND_WITH_RESPONSE(x, command) \ |
|---|
| .. | .. |
|---|
| 376 | 376 | _ptr->flags |= TYPHOON_DESC_VALID; \ |
|---|
| 377 | 377 | _ptr->cmd = command; \ |
|---|
| 378 | 378 | _ptr->seqNo = 1; \ |
|---|
| 379 | | - } while(0) |
|---|
| 379 | + } while (0) |
|---|
| 380 | 380 | |
|---|
| 381 | 381 | /* TYPHOON_CMD_SET_RX_FILTER filter bits (cmd.parm1) |
|---|
| 382 | 382 | */ |
|---|