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
|
||||
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:
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -13,8 +13,7 @@
|
|||
|
||||
class System;
|
||||
|
||||
enum TaskDisplayState
|
||||
{
|
||||
enum TaskDisplayState {
|
||||
Error,
|
||||
Warning,
|
||||
Okay,
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#ifndef TASK_H_
|
||||
#define TASK_H_
|
||||
|
||||
enum TaskNames
|
||||
{
|
||||
enum TaskNames {
|
||||
TaskAprsIs = 1,
|
||||
TaskEth,
|
||||
TaskFtp,
|
||||
|
|
Ładowanie…
Reference in New Issue