update clang-format

pull/264/head
Peter Buchegger 2023-02-10 22:06:53 +01:00
rodzic a3c25dff0a
commit ecb01f9b90
5 zmienionych plików z 6 dodań i 10 usunięć

Wyświetl plik

@ -46,9 +46,9 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Run clang-format style check for C/C++ programs.
uses: jidicula/clang-format-action@v4.5.0
uses: jidicula/clang-format-action@v4.10.2
with:
clang-format-version: '11'
clang-format-version: '14'
check-path: ${{ matrix.path }}
cppcheck:

Wyświetl plik

@ -9,8 +9,7 @@ class APRS_IS {
public:
void setup(const String &user, const String &passcode, const String &tool_name, const String &version);
enum ConnectionStatus
{
enum ConnectionStatus {
SUCCESS,
ERROR_CONNECTION,
ERROR_PASSCODE,

Wyświetl plik

@ -64,8 +64,7 @@
#define SETVCOMDETECT 0xDB
#define SWITCHCAPVCC 0x2
enum OLEDDISPLAY_GEOMETRY
{
enum OLEDDISPLAY_GEOMETRY {
GEOMETRY_128_64 = 0,
GEOMETRY_128_32 = 1,
GEOMETRY_64_48 = 2,

Wyświetl plik

@ -13,8 +13,7 @@
class System;
enum TaskDisplayState
{
enum TaskDisplayState {
Error,
Warning,
Okay,

Wyświetl plik

@ -1,8 +1,7 @@
#ifndef TASK_H_
#define TASK_H_
enum TaskNames
{
enum TaskNames {
TaskAprsIs = 1,
TaskEth,
TaskFtp,