File tree Expand file tree Collapse file tree 6 files changed +12
-10
lines changed
Expand file tree Collapse file tree 6 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 2424#include <assert.h>
2525#include <errno.h>
2626#include <stdbool.h>
27- #include <string.h>
2827
29- #include "log.h"
3028#include "irq.h"
3129#include "periph/gpio_ll.h"
3230
3937#include "esp_idf_api/gpio.h"
4038
4139#ifdef MODULE_FMT
42- #include "fmt.h"
40+ # include "fmt.h"
4341#else
42+ # include <stdio.h>
4443static inline void print_str (const char * str )
4544{
4645 fputs (str , stdout );
Original file line number Diff line number Diff line change 2828#include "debug.h"
2929
3030#ifdef MODULE_FMT
31- #include "fmt.h"
31+ # include "fmt.h"
3232#else
33+ # include <stdio.h>
3334static inline void print_str (const char * str )
3435{
3536 fputs (str , stdout );
Original file line number Diff line number Diff line change 3737#include "periph_conf.h"
3838
3939#ifdef MODULE_FMT
40- #include "fmt.h"
40+ # include "fmt.h"
4141#else
42+ # include <stdio.h>
4243static inline void print_str (const char * str )
4344{
4445 fputs (str , stdout );
Original file line number Diff line number Diff line change 4545#include "periph/gpio_ll.h"
4646
4747#ifdef MODULE_FMT
48- #include "fmt.h"
48+ # include "fmt.h"
4949#else
50+ # include <stdio.h>
5051static inline void print_str (const char * str )
5152{
5253 fputs (str , stdout );
Original file line number Diff line number Diff line change 3434#include "periph/gpio_ll.h"
3535
3636#ifdef MODULE_FMT
37- #include "fmt.h"
37+ # include "fmt.h"
3838#else
39+ # include <stdio.h>
3940static inline void print_str (const char * str )
4041{
4142 fputs (str , stdout );
Original file line number Diff line number Diff line change 66 * directory for more details.
77 */
88
9- #include <stdio.h>
10-
119#include "periph/gpio_ll.h"
1210
1311/* Optimizing for low stack usage by not using printf(), which on newlib is
1917 * printf().
2018 */
2119#ifdef MODULE_FMT
22- #include "fmt.h"
20+ # include "fmt.h"
2321#else
22+ # include <stdio.h>
2423static inline void print_str (const char * str )
2524{
2625 fputs (str , stdout );
You can’t perform that action at this time.
0 commit comments