Skip to content

Commit

Permalink
tests/drivers/at: add static variable initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztof-cabaj committed Apr 15, 2024
1 parent 16180a3 commit 59d5af7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/drivers/at/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ static at_dev_t at_dev;
static char buf[256];
static char resp[1024];
static char rp_buf[256];
static bool initialized;
static bool is_power_on;
static bool initialized = false;
static bool is_power_on = false;

static int init(int argc, char **argv)
{
Expand Down Expand Up @@ -490,9 +490,6 @@ int main(void)
{
puts("AT command test app");

initialized = false;
is_power_on = false;

/* run the shell */
char line_buf[SHELL_DEFAULT_BUFSIZE];
shell_run(shell_commands, line_buf, SHELL_DEFAULT_BUFSIZE);
Expand Down

0 comments on commit 59d5af7

Please sign in to comment.