summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/sbc_harness/config/config.h2
-rw-r--r--cmd/sbc_harness/config/tusb_config.h2
-rw-r--r--libcr/coroutine.c2
-rw-r--r--libnetio/netio_posix.c2
-rwxr-xr-xlibusb/include/libusb/tusb_helpers.h.gen2
-rw-r--r--libusb/usb_common.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/cmd/sbc_harness/config/config.h b/cmd/sbc_harness/config/config.h
index b12eb2c..fb3c5ae 100644
--- a/cmd/sbc_harness/config/config.h
+++ b/cmd/sbc_harness/config/config.h
@@ -8,7 +8,7 @@
/*#include <assert.h>*/
-#if defined(USE_CONFIG_NETIO_POSIX) || defined(USE_CONFIG_COROUTINE)
+#if defined(USE_CONFIG_NETIO_POSIX) || defined(USE_CONFIG_COROUTINE)
# define CONFIG_NETIO_NUM_CONNS 8
#endif
#ifdef USE_CONFIG_NETIO_POSIX
diff --git a/cmd/sbc_harness/config/tusb_config.h b/cmd/sbc_harness/config/tusb_config.h
index cb1ca3b..0eb1c9d 100644
--- a/cmd/sbc_harness/config/tusb_config.h
+++ b/cmd/sbc_harness/config/tusb_config.h
@@ -91,7 +91,7 @@ extern "C" {
#define CFG_TUD_VENDOR 0 // int : ???
#define CFG_TUD_USBTMC 0 // bool: Test & Measurement Class https://www.usb.org/sites/default/files/USBTMC_1_006a.zip
#define CFG_TUD_DFU_RUNTIME 0 // bool: Device Firmware Upgrade https://www.usb.org/sites/default/files/DFU_1.1.pdf
-#define CFG_TUD_DFU 0 // bool: Device Firmware Upgrade https://www.usb.org/sites/default/files/DFU_1.1.pdf
+#define CFG_TUD_DFU 0 // bool: Device Firmware Upgrade https://www.usb.org/sites/default/files/DFU_1.1.pdf
#define CFG_TUD_ECM_RNDIS 0 // bool: net
#define CFG_TUD_NCM 0 // bool: net
#define CFG_TUD_BTH 0 // bool: Bluetooth
diff --git a/libcr/coroutine.c b/libcr/coroutine.c
index be8d378..bc67cbb 100644
--- a/libcr/coroutine.c
+++ b/libcr/coroutine.c
@@ -406,7 +406,7 @@ cid_t coroutine_add_with_stack_size(size_t stack_size, cr_fn_t fn, void *args) {
stack_pattern[i%sizeof(stack_pattern)];
#endif
- coroutine_running = child;
+ coroutine_running = child;
coroutine_table[child-1].state = CR_INITIALIZING;
if (!cr_plat_setjmp(coroutine_add_env)) { /* point=a */
void *stack_base = coroutine_table[child-1].stack
diff --git a/libnetio/netio_posix.c b/libnetio/netio_posix.c
index 54df412..dda30b0 100644
--- a/libnetio/netio_posix.c
+++ b/libnetio/netio_posix.c
@@ -60,7 +60,7 @@ static void _netio_init(void) {
if (sig_io)
return;
-
+
sig_io = SIGRTMIN + (sigs_allocated++);
if (sig_io > SIGRTMAX)
error(1, 0, "SIGRTMAX exceeded");
diff --git a/libusb/include/libusb/tusb_helpers.h.gen b/libusb/include/libusb/tusb_helpers.h.gen
index b46f5f6..364430e 100755
--- a/libusb/include/libusb/tusb_helpers.h.gen
+++ b/libusb/include/libusb/tusb_helpers.h.gen
@@ -71,7 +71,7 @@ if [[ ! -f 3rd-party/MS-LCID.txt || 3rd-party/MS-LCID.txt -ot 3rd-party/MS-LCID.
fi
<3rd-party/MS-LCID.txt \
grep -E '^\s*0x[0-9A-F]{4}\s+[a-z]' | sed 's/,.*//' | grep -v reserved | # find the lines we're interested in
- sed -E 's/^\s*0x(..)(..)\s+(\S.*)/\2 \1 \3/p' | tr '[:lower:]-' '[:upper:]_' | # format them as 'PRIhex SUBhex UPPER_STR'
+ sed -E 's/^\s*0x(..)(..)\s+(\S.*)/\2 \1 \3/p' | tr '[:lower:]-' '[:upper:]_' | # format them as 'PRIhex SUBhex UPPER_STR'
sort |
sed -E 's/(..) (..) (.*)/#define LANGID_\3 0x\2\1/' | # format them as '#define LANGID_UPPER_STR 0xSUBPRI'
column --table --output-separator=' '
diff --git a/libusb/usb_common.c b/libusb/usb_common.c
index 7effcec..b938247 100644
--- a/libusb/usb_common.c
+++ b/libusb/usb_common.c
@@ -80,7 +80,7 @@ void usb_common_earlyinit(void) {
TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP, /* bmAttributes ; Bitmap of flags (self-powered and remote-wakeup are the only flags defined in USB 2.0) */
100); /* bMaxPower (in mA) ; Maximum power consumption of the device when in this configuration */
}
-
+
void usb_common_lateinit(void) {
board_init();
tud_init(BOARD_TUD_RHPORT);