mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
fix typo in hspi_slave.c (#2276)
Current C++ implementation has this field hardcoded, so this case was never hit
This commit is contained in:
parent
07f4d4c241
commit
217ba9e072
@ -75,10 +75,10 @@ void hspi_slave_begin(uint8_t status_len, void * arg)
|
||||
{
|
||||
status_len &= 7;
|
||||
if(status_len > 4) {
|
||||
status_len == 4; //max 32 bits
|
||||
status_len = 4; //max 32 bits
|
||||
}
|
||||
if(status_len == 0) {
|
||||
status_len == 1; //min 8 bits
|
||||
status_len = 1; //min 8 bits
|
||||
}
|
||||
|
||||
pinMode(SS, SPECIAL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user