Skip to content

Commit 21bc466

Browse files
xiaoxiang781216pkarashchenko
authored andcommitted
Remove the tail space char from all files
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
1 parent cf9dd1c commit 21bc466

File tree

19 files changed

+50
-51
lines changed

19 files changed

+50
-51
lines changed

Application.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ endef
135135
define ELFCOMPILEZIG
136136
$(ECHO_BEGIN)"ZIG: $1 "
137137
# Remove target suffix here since zig compiler add .o automatically
138-
$(Q) $(ZIG) build-obj $(ZIGELFFLAGS) $($(strip $1)_ZIGELFFLAGS) --name $(basename $2) $1
138+
$(Q) $(ZIG) build-obj $(ZIGELFFLAGS) $($(strip $1)_ZIGELFFLAGS) --name $(basename $2) $1
139139
$(ECHO_END)
140140
endef
141141

audioutils/mml_parser/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ ex: ``"CDEFGAB > C R C < BAGFEDC"``, ``"O4 CDEFGAB O5 C R C O4 BAGFEDC"``
6666
### Tempo
6767

6868
Tempo is indicated as "T" and numter following after the "T".
69-
Tempo number decide a speed of the score. This value is used for culculating sample number for
69+
Tempo number decide a speed of the score. This value is used for culculating sample number for
7070
the note (or rest).
7171
ex: ``"T120"``
7272

audioutils/mml_parser/mml_parser.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
#include <audioutils/mml_parser.h>
3434

35-
#ifdef DEBUG_ON
35+
#ifdef DEBUG_ON
3636
#include <stdio.h>
3737
#endif
3838

@@ -50,7 +50,7 @@
5050
#define TUPLET_START '{'
5151
#define TUPLET_END '}'
5252

53-
#ifdef DEBUG_ON
53+
#ifdef DEBUG_ON
5454
#define DEBUG printf
5555
#else
5656
#define DEBUG(...)

canutils/libcanardv1/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ $(LIBCANARDV1_UNPACKNAME): $(LIBCANARDV1_PACKNAME)
5555
$(call DELDIR, $@)
5656
$(Q) $(UNPACK) $<
5757
$(Q) touch $@
58-
58+
5959
$(O1HEAP_PACKNAME):
6060
@echo "Downloading: $@"
6161
$(Q) curl -o $@ -L $(O1HEAP_URL)$(DELIM)$(O1HEAP_VERSION)$(PACKEXT)
@@ -77,7 +77,7 @@ $(APPS_INCDIR)$(DELIM)canard.h: $(LIBCANARDV1_DRVDIR)$(DELIM)canard.h
7777

7878
$(APPS_INCDIR)$(DELIM)canard_dsdl.h: $(LIBCANARDV1_DRVDIR)$(DELIM)canard_dsdl.h
7979
$(Q) cp $< $@
80-
80+
8181
$(APPS_INCDIR)$(DELIM)o1heap.h: $(O1HEAP_DRVDIR)$(DELIM)o1heap.h
8282
$(Q) cp $< $@
8383

examples/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2003,7 +2003,7 @@ The watcher is a task that will monitor other tasks that subscribe to be watched
20032003
If a watched task doesn't signal the watcher during the watchdog time period,
20042004
the watchdog timer will expire and the watcher will print the tasks that did
20052005
not signal and the ones that signaled. The tasks that did not signal will be printed
2006-
as the tasks that starved the dog and the tasks that signaled will be printed as
2006+
as the tasks that starved the dog and the tasks that signaled will be printed as
20072007
the tasks that fed the dog.
20082008
The watcher task will only feed the watchdog timer when all subscribed tasks have
20092009
asked to feed dog.
@@ -2013,16 +2013,16 @@ To start the watcher, just run:
20132013
`watcher`
20142014

20152015
The watched example is not required to use the watcher. The watched example is simply
2016-
a task that creates 4 tasks that will subscribe to be watched. The first and fourth
2016+
a task that creates 4 tasks that will subscribe to be watched. The first and fourth
20172017
will not feed the dog to expose the functionality. This example will show the user
2018-
how to subscribe, to feed the dog and to unsubscribe.
2018+
how to subscribe, to feed the dog and to unsubscribe.
20192019

20202020
To start the watched, just run:
20212021

2022-
`watched`
2022+
`watched`
20232023

20242024
P.S: This example will only be supported by the chips that support interrupt on
2025-
timeout, i.e., which have the \"capture\" command implemented.
2025+
timeout, i.e., which have the \"capture\" command implemented.
20262026

20272027
This test depends on these specific configurations settings (your
20282028
specific watchdog hardware settings might require additional settings).
@@ -2032,9 +2032,9 @@ specific watchdog hardware settings might require additional settings).
20322032
- `CONFIG_NSH_BUILTIN_APPS` – Build this example an NSH built-in
20332033
function.
20342034
- `CONFIG_DRIVERS_NOTE` and `CONFIG_SCHED_INSTRUMENTATION` – Allows the watcher
2035-
to get the tasks' names.
2035+
to get the tasks' names.
20362036
- `CONFIG_FS_FAT` – Allows the creation of a FAT filesystem on the ramdisk
2037-
to create a file with all the necessary info for the watched tasks.
2037+
to create a file with all the necessary info for the watched tasks.
20382038

20392039
Specific configuration options for the `watcher` example include:
20402040

@@ -2044,7 +2044,7 @@ Specific configuration options for the `watcher` example include:
20442044
the Watcher. Default: `/dev/watchdog0`.
20452045
- `CONFIG_EXAMPLES_WATCHER_TIMEOUT` – The watchdog timeout value in
20462046
milliseconds.
2047-
- `CONFIG_EXAMPLES_WATCHER_SIGNAL` – This is the Signal Number used for
2047+
- `CONFIG_EXAMPLES_WATCHER_SIGNAL` – This is the Signal Number used for
20482048
communication between the watcher task and the watched tasks.
20492049

20502050
Specific configuration options for the `watched` example include:

examples/etl/etl_main.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class CETL
8181
printf("v1 with 0 through 9\n");
8282
for (auto& it : v1) {
8383
printf("%i ", it);
84-
}
84+
}
8585
printf("\n");
8686

8787
printf("v2 with 10 through 29\n");

examples/foc/README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limits on your own so as not to break your hardware.
1717

1818
# Configuration
1919

20-
The FOC PI current controller parameters can be obtained from the given
20+
The FOC PI current controller parameters can be obtained from the given
2121
equations:
2222

2323
```
@@ -43,41 +43,40 @@ where:
4343
Ls = 8.73 uH
4444
i\_max = ?
4545
v\_max = ?
46-
46+
4747
Example configuration for f\_PWM = 20kHz, f\_notifier = 10kHz, ccb=1000:
4848
Kp = 0.0087
4949
Ki = 0.0025
50-
50+
5151
* Linix 45ZWN24-40 (PMSM motor dedicated for NXP FRDM-MC-LVMTR kit)
5252
p = 2
5353
Rs = 0.5 Ohm
5454
Ls = 0.400 mH
5555
i\_max = 2.34 A
5656
v\_max = 24 V
57-
57+
5858
Example configuration for f\_PWM = 10kHz, f\_notifier = 5kHz, ccb=1000:
5959
Kp = 0.4
6060
Ki = 0.1
61-
61+
6262
* Bull-Running BR2804-1700 kV (motor provided with the ST P-NUCLEO-IHM07 kit)
6363
p = 7
6464
Rs = 0.11 Ohm
6565
Ls = 0.018 mH
6666
i\_max = 1.2A
6767
v\_max = 12V
68-
68+
6969
Example configuration for f\_PWM = 20kHz, f\_notifier = 10kHz, ccb=200:
7070
Kp = 0.036
7171
Ki = 0.022
72-
72+
7373
* iPower GBM2804H-100T (gimbal motor provided with the ST P-NUCLEO-IHM03 kit)
7474
p = 7
7575
Rs = 5.29 Ohm
7676
Ls = 1.05 mH
7777
i\_max = 0.15A
7878
v\_max = 12V
79-
79+
8080
Example configuration for f\_PWM = 10kHz, f\_notifier = 5kHz, ccb=TODO:
8181
Kp = TODO
8282
Ki = TODO
83-

examples/lp503x/Kconfig

100755100644
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ config EXAMPLES_LP503X_PROGNAME
2121
config EXAMPLES_LP503X_DEVPATH
2222
string "LP503X device path"
2323
default "/dev/leddrv0"
24-
24+
2525
config EXAMPLES_LP503X_PRIORITY
2626
int "lp503x task priority"
2727
default 100
2828

2929
config EXAMPLES_LP503X_STACKSIZE
3030
int "lp503x stack size"
3131
default DEFAULT_TASK_STACKSIZE
32-
32+
3333
endif

examples/mcuboot/swap_test/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ NuttShell (NSH) NuttX-10.2.0
3939
nsh> ?
4040
help usage: help [-v] [<cmd>]
4141

42-
. cd echo hexdump mv rmdir true xd
43-
[ cp exec kill printf set truncate
44-
? cmp exit ls ps sleep uname
45-
basename dirname false mkdir pwd source umount
46-
break dd free mkrd reboot test unset
47-
cat df help mount rm time usleep
42+
. cd echo hexdump mv rmdir true xd
43+
[ cp exec kill printf set truncate
44+
? cmp exit ls ps sleep uname
45+
basename dirname false mkdir pwd source umount
46+
break dd free mkrd reboot test unset
47+
cat df help mount rm time usleep
4848

4949
Builtin Apps:
50-
mcuboot_set_img mcuboot_confirm sh
51-
mcuboot_version ramtest nsh
50+
mcuboot_set_img mcuboot_confirm sh
51+
mcuboot_version ramtest nsh
5252
nsh>
5353
```
5454

examples/tcp_ipc_client/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22

33
## What's this?
44

5-
This program consists of a client socket & custom messages that send data (hex-string formatted data) to a server (tcp_ipc_server).
5+
This program consists of a client socket & custom messages that send data (hex-string formatted data) to a server (tcp_ipc_server).
66
Then, tcp_ipc_server send this data over LoraWAN (using Radioenge LoRaWAN module). It means using TCP/IP sockets as IPC channel to ensure controlled access to LoRaWAN connectivity.
77
The goals of using this approach to send LoRaWAN data are:
88

99
* Having a solid and reliable infrastructure to ensure IPC works fine for multiple applications simultaneously
10-
* Having the possibility to host different IoT projects and solutions that use LPWAN in a single ESP32
10+
* Having the possibility to host different IoT projects and solutions that use LPWAN in a single ESP32
1111
* Having the possibility to validate, test and debug multiple IoT projects and solutions at the same time, under the same connectivity conditions (same signal strength, same antenna, same modem/transceiver, etc.)
1212

1313
Both client and server work on local network scope.
1414

1515

1616
## How do I use this?
17-
17+
1818
In order to test tcp_ipc_client & tcp_ipc_server together, there are two ways to proceed:
1919

2020
1) Init server manually (command: SERVER &), and after successfull server init, also init client manually (CLIENT 127.0.0.1)

0 commit comments

Comments
 (0)