kopia lustrzana https://github.com/lora-aprs/LoRa_APRS_iGate
update clang-format
rodzic
a3c25dff0a
commit
ecb01f9b90
|
@ -46,9 +46,9 @@ jobs:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Run clang-format style check for C/C++ programs.
|
- 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:
|
with:
|
||||||
clang-format-version: '11'
|
clang-format-version: '14'
|
||||||
check-path: ${{ matrix.path }}
|
check-path: ${{ matrix.path }}
|
||||||
|
|
||||||
cppcheck:
|
cppcheck:
|
||||||
|
|
|
@ -9,8 +9,7 @@ class APRS_IS {
|
||||||
public:
|
public:
|
||||||
void setup(const String &user, const String &passcode, const String &tool_name, const String &version);
|
void setup(const String &user, const String &passcode, const String &tool_name, const String &version);
|
||||||
|
|
||||||
enum ConnectionStatus
|
enum ConnectionStatus {
|
||||||
{
|
|
||||||
SUCCESS,
|
SUCCESS,
|
||||||
ERROR_CONNECTION,
|
ERROR_CONNECTION,
|
||||||
ERROR_PASSCODE,
|
ERROR_PASSCODE,
|
||||||
|
|
|
@ -64,8 +64,7 @@
|
||||||
#define SETVCOMDETECT 0xDB
|
#define SETVCOMDETECT 0xDB
|
||||||
#define SWITCHCAPVCC 0x2
|
#define SWITCHCAPVCC 0x2
|
||||||
|
|
||||||
enum OLEDDISPLAY_GEOMETRY
|
enum OLEDDISPLAY_GEOMETRY {
|
||||||
{
|
|
||||||
GEOMETRY_128_64 = 0,
|
GEOMETRY_128_64 = 0,
|
||||||
GEOMETRY_128_32 = 1,
|
GEOMETRY_128_32 = 1,
|
||||||
GEOMETRY_64_48 = 2,
|
GEOMETRY_64_48 = 2,
|
||||||
|
|
|
@ -13,8 +13,7 @@
|
||||||
|
|
||||||
class System;
|
class System;
|
||||||
|
|
||||||
enum TaskDisplayState
|
enum TaskDisplayState {
|
||||||
{
|
|
||||||
Error,
|
Error,
|
||||||
Warning,
|
Warning,
|
||||||
Okay,
|
Okay,
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
#ifndef TASK_H_
|
#ifndef TASK_H_
|
||||||
#define TASK_H_
|
#define TASK_H_
|
||||||
|
|
||||||
enum TaskNames
|
enum TaskNames {
|
||||||
{
|
|
||||||
TaskAprsIs = 1,
|
TaskAprsIs = 1,
|
||||||
TaskEth,
|
TaskEth,
|
||||||
TaskFtp,
|
TaskFtp,
|
||||||
|
|
Ładowanie…
Reference in New Issue