Skip to content

Commit 52eedb1

Browse files
committed
uncrustify
1 parent 5b48b29 commit 52eedb1

15 files changed

Lines changed: 3888 additions & 3816 deletions

src/arduino_helpers.h

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,26 @@
1515
*/
1616
/*UNCRUSTIFY-ON*/
1717
#ifndef ARDUINO_HELPERS_H_
18-
#define ARDUINO_HELPERS_H_
18+
#define ARDUINO_HELPERS_H_
1919

2020

21-
#ifdef __cplusplus
21+
#ifdef __cplusplus
2222

23-
#if defined(ARDUINO_ARCH_AVR) || defined(ARDUINO_ARCH_SAM) || defined(ARDUINO_ARCH_SAMD) || defined(ARDUINO_ARCH_ESP8266) || defined(ARDUINO_ARCH_STM32) || \
24-
defined(ARDUINO_TEENSY_MICROMOD) || defined(ARDUINO_TEENSY40) || defined(ARDUINO_TEENSY41) || defined(ARDUINO_TEENSY36) || defined(ARDUINO_TEENSY35) || \
25-
defined(ARDUINO_TEENSY31) || defined(ARDUINO_TEENSY32) || defined(ARDUINO_TEENSY30) || defined(ARDUINO_TEENSYLC)
26-
#include <Arduino.h>
27-
#include "HeliOS.h"
28-
String xByte2String(Size_t size_, Byte_t *bytes_);
23+
#if defined(ARDUINO_ARCH_AVR) || defined(ARDUINO_ARCH_SAM) || defined(ARDUINO_ARCH_SAMD) || defined(ARDUINO_ARCH_ESP8266) || defined(ARDUINO_ARCH_STM32) || \
24+
defined(ARDUINO_TEENSY_MICROMOD) || defined(ARDUINO_TEENSY40) || defined(ARDUINO_TEENSY41) || defined(ARDUINO_TEENSY36) || defined(ARDUINO_TEENSY35) || \
25+
defined(ARDUINO_TEENSY31) || defined(ARDUINO_TEENSY32) || defined(ARDUINO_TEENSY30) || defined(ARDUINO_TEENSYLC)
26+
#include <Arduino.h>
27+
#include "HeliOS.h"
28+
String xByte2String(Size_t size_, Byte_t *bytes_);
2929

30-
#endif /* if defined(ARDUINO_ARCH_AVR) || defined(ARDUINO_ARCH_SAM) ||
31-
* defined(ARDUINO_ARCH_SAMD) || defined(ARDUINO_ARCH_ESP8266) ||
32-
* defined(ARDUINO_ARCH_STM32) || defined(ARDUINO_TEENSY_MICROMOD) ||
33-
* defined(ARDUINO_TEENSY40) || defined(ARDUINO_TEENSY41) ||
34-
* defined(ARDUINO_TEENSY36) || defined(ARDUINO_TEENSY35) ||
35-
* defined(ARDUINO_TEENSY31) || defined(ARDUINO_TEENSY32) ||
36-
* defined(ARDUINO_TEENSY30) || defined(ARDUINO_TEENSYLC) */
30+
#endif /* if defined(ARDUINO_ARCH_AVR) || defined(ARDUINO_ARCH_SAM) ||
31+
* defined(ARDUINO_ARCH_SAMD) || defined(ARDUINO_ARCH_ESP8266) ||
32+
* defined(ARDUINO_ARCH_STM32) || defined(ARDUINO_TEENSY_MICROMOD) ||
33+
* defined(ARDUINO_TEENSY40) || defined(ARDUINO_TEENSY41) ||
34+
* defined(ARDUINO_TEENSY36) || defined(ARDUINO_TEENSY35) ||
35+
* defined(ARDUINO_TEENSY31) || defined(ARDUINO_TEENSY32) ||
36+
* defined(ARDUINO_TEENSY30) || defined(ARDUINO_TEENSYLC) */
3737

38-
#endif /* ifdef __cplusplus */
38+
#endif /* ifdef __cplusplus */
3939

4040
#endif /* ifndef ARDUINO_HELPERS_H_ */

src/config.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,9 @@
232232
* - Systems with external RAM: 0x40000+ (256KB+)
233233
*
234234
* The default value is 0x800 (2KB) which is suitable for Arduino AVR MCUs and
235-
* other memory-constrained embedded systems (total usage: 4KB for both regions).
236-
* For development and testing on systems with more RAM, a larger value like
237-
* 0x10000 (64KB) is recommended.
235+
* other memory-constrained embedded systems (total usage: 4KB for both
236+
* regions). For development and testing on systems with more RAM, a larger
237+
* value like 0x10000 (64KB) is recommended.
238238
*
239239
* @note The value should be set as a hexadecimal constant with the 'u' suffix
240240
* (e.g., 0x800u for 2KB, 0x10000u for 64KB).
@@ -458,8 +458,8 @@
458458
* Defining CONFIG_ENABLE_IO_SUBSYSTEM will enable the complete I/O subsystem
459459
* including device driver framework (device.c), filesystem support (fs.c), and
460460
* console functionality (console.c). When disabled, these components are
461-
* excluded from the build, reducing code size and memory footprint. The
462-
* default is disabled.
461+
* excluded from the build, reducing code size and memory footprint. The default
462+
* is disabled.
463463
*
464464
* The I/O subsystem provides:
465465
* - Device driver framework for block and character devices
@@ -473,8 +473,8 @@
473473
* @note Disabling this setting can significantly reduce code size for
474474
* applications that don't require device I/O, filesystem, or console features.
475475
*
476-
* @note To enable this feature, define CONFIG_ENABLE_IO_SUBSYSTEM in your
477-
* build configuration or uncomment the definition below.
476+
* @note To enable this feature, define CONFIG_ENABLE_IO_SUBSYSTEM in your build
477+
* configuration or uncomment the definition below.
478478
*
479479
* @sa CONFIG_ENABLE_CONSOLE
480480
* @sa CONFIG_DEVICE_NAME_BYTES
@@ -555,9 +555,9 @@
555555
/**
556556
* @brief Define the character device UID for console operations
557557
*
558-
* Setting CONFIG_CHAR_DEVICE_UID specifies which character device the
559-
* console will use for input and output. This UID must match a registered
560-
* character device driver in the system. The default is 0x2000u (CHARDEV0).
558+
* Setting CONFIG_CHAR_DEVICE_UID specifies which character device the console
559+
* will use for input and output. This UID must match a registered character
560+
* device driver in the system. The default is 0x2000u (CHARDEV0).
561561
*
562562
* The console requires a bidirectional character device, typically a UART,
563563
* USART, or USB CDC virtual COM port, to communicate with the user.

0 commit comments

Comments
 (0)