fix bit namings
Signed-off-by: Mikhail Sazanov <m@sazanof.ru>
This commit is contained in:
parent
f31812c007
commit
5d32db673d
2 changed files with 5 additions and 5 deletions
|
@ -507,7 +507,7 @@ bool esp_ot_send_request_async(unsigned long request)
|
|||
esp_ot_send_bit(1); // start bit
|
||||
for (int i = 31; i >= 0; i--)
|
||||
{
|
||||
esp_ot_send_bit(bitRead(request, i));
|
||||
esp_ot_send_bit(ESP_OT_BIT_READ(request, i));
|
||||
}
|
||||
esp_ot_send_bit(1); // stop bit
|
||||
esp_ot_set_idle_state();
|
||||
|
@ -818,7 +818,7 @@ bool esp_ot_send_response(unsigned long request)
|
|||
esp_ot_send_bit(1); // start bit
|
||||
for (int i = 31; i >= 0; i--)
|
||||
{
|
||||
esp_ot_send_bit(bitRead(request, i));
|
||||
esp_ot_send_bit(ESP_OT_BIT_READ(request, i));
|
||||
}
|
||||
esp_ot_send_bit(1); // stop bit
|
||||
esp_ot_set_idle_state();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue