Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mark max1704x TAG const #661

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/example/example.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

/* do NOT use upper case for variables. use `snake_case` instead of
* `CamelCase`. */
static char *tag = "example";
static const char *tag = "example";

/* prefix public function names with the component name, `example_` in this
* case. */
Expand Down
2 changes: 1 addition & 1 deletion components/max1704x/max1704x.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
#define CHECK(x) do { esp_err_t __; if ((__ = x) != ESP_OK) return __; } while (0)
#define CHECK_ARG(ARG) do { if (!(ARG)) return ESP_ERR_INVALID_ARG; } while (0)

static char *TAG = "max1704x";
static const char *TAG = "max1704x";

/**
* Private functions
Expand Down
Loading