remove warning "missleading-indentation"
flashmen spi 9bits?
This commit is contained in:
@@ -115,7 +115,7 @@ void SetupSpi(int mode) {
|
||||
( 1 << 24) | // Delay between Consecutive Transfers (32 MCK periods)
|
||||
( 1 << 16) | // Delay Before SPCK (1 MCK period)
|
||||
( 6 << 8) | // Serial Clock Baud Rate (baudrate = MCK/6 = 24Mhz/6 = 4M baud
|
||||
( 8 << 4) | // Bits per Transfer (16 bits) ---> TRANSFER RATE CORRECT?
|
||||
( 1 << 4) | // Bits per Transfer (9 bits) ---> TRANSFER RATE CORRECT?
|
||||
( 0 << 3) | // Chip Select inactive after transfer
|
||||
( 1 << 1) | // Clock Phase data captured on leading edge, changes on following edge
|
||||
( 0 << 0); // Clock Polarity inactive state is logic 0
|
||||
|
||||
Reference in New Issue
Block a user