Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
IhorNehrutsa authored and IhorNehrutsa committed Jan 12, 2024
1 parent 503c1d5 commit 8fbb610
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/esp-hosted/esp_hosted_hal.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@

#ifndef MICROPY_INCLUDED_DRIVERS_ESP_HOSTED_HAL_H
#define MICROPY_INCLUDED_DRIVERS_ESP_HOSTED_HAL_H

/*
#ifndef ESP_HOSTED_DEBUG
#define ESP_HOSTED_DEBUG (0)
#endif
#define DO_PRINTF (ESP_HOSTED_DEBUG)
// #include "py/mpprint.h"

*/
typedef enum {
ESP_HOSTED_MODE_BT,
ESP_HOSTED_MODE_WIFI,
Expand Down
4 changes: 4 additions & 0 deletions extmod/network_esp_hosted.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
*
* ESP-Hosted network interface.
*/
#ifndef ESP_HOSTED_DEBUG
#define ESP_HOSTED_DEBUG (0)
#endif
#define DO_PRINTF (ESP_HOSTED_DEBUG)

#include "py/mphal.h"

Expand Down

0 comments on commit 8fbb610

Please sign in to comment.