Skip to content

Commit

Permalink
finally fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bzzling committed Oct 17, 2024
1 parent d9ebc49 commit 9e23338
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/core/test/test_mock.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#include <cstdio>

#include "status.h"
#include "test_helpers.h"
#include "unity.h"
Expand Down
2 changes: 2 additions & 0 deletions libraries/core/test/test_status.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include <stdbool.h>
#include <stdio.h>

#include <cstdio>

#include "misc.h"
#include "status.h"
#include "unity.h"
Expand Down
2 changes: 2 additions & 0 deletions libraries/ms-common/inc/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#include <stdio.h>
#include <stdlib.h>

#include <cstdio>

#include "FreeRTOS.h"
#include "semaphore.h"
#include "task.h"
Expand Down
2 changes: 2 additions & 0 deletions libraries/ms-common/src/x86/flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
#include <string.h>
#include <unistd.h>

#include <cstdio>

#include "log.h"

#define FLASH_DEFAULT_FILENAME "x86_flash"
Expand Down
2 changes: 2 additions & 0 deletions projects/can_communication/src/main.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include <stdio.h>

#include <cstdio>

#include "can.h"
#include "can_board_ids.h"
#include "gpio.h"
Expand Down
2 changes: 2 additions & 0 deletions projects/uart_cli/src/cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#include <stdio.h>

#include <cstdio>

#include "ctype.h"
#include "interrupt.h"
#include "log.h"
Expand Down
2 changes: 2 additions & 0 deletions projects/uart_cli/src/cli_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#include <stdio.h>
#include <string.h>

#include <cstdio>

void tok_cmd(char *cmd_in, char *tok_out) {
char tmp[MAX_CMD_LEN + 1] = { 0 };
const char delim[2] = " ";
Expand Down
2 changes: 2 additions & 0 deletions projects/uart_cli/src/gpio_cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include <stdio.h>
#include <stdlib.h>

#include <cstdio>

#include "gpio.h"
#include "log.h"
#include "string.h"
Expand Down
2 changes: 2 additions & 0 deletions smoke/adc/src/main.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include <stdio.h>

#include <cstdio>

#include "adc.h"
#include "delay.h"
#include "gpio.h"
Expand Down

0 comments on commit 9e23338

Please sign in to comment.