Bulk replace header guards to use

This commit is contained in:
David Cermak
2021-05-26 15:57:25 +02:00
parent 84b0dcfea4
commit 3332c27978
35 changed files with 38 additions and 140 deletions

View File

@ -12,12 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once
#include "esp_log.h"
#include "driver/uart.h"
#ifndef _UART_COMPAT_H_
#define _UART_COMPAT_H_
/**
* @brief This is a compatible header, which just takes care of different data ptr type
* across different IDF version in driver/uart
@ -31,5 +30,3 @@ static inline int uart_write_bytes_compat(uart_port_t uart_num, const void* src,
#endif
return uart_write_bytes(uart_num, data, size);
}
#endif //_UART_COMPAT_H_