summaryrefslogtreecommitdiff
path: root/test/fuzz/device/cdc
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-03-17 16:12:49 +0700
committerhathach <[email protected]>2023-03-17 16:12:49 +0700
commit3623ba1884ddff23e9b64766cb6dd032f1425846 (patch)
tree5fc5ceddfdf79ce8c356df9114b3f3745d7eb492 /test/fuzz/device/cdc
parent2faad42cb1d258155f714e5140bb27bc1ed30caf (diff)
fix trailing space and new line
temporarily disable codespell
Diffstat (limited to 'test/fuzz/device/cdc')
-rw-r--r--test/fuzz/device/cdc/CMakeLists.txt2
-rw-r--r--test/fuzz/device/cdc/src/fuzz.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/fuzz/device/cdc/CMakeLists.txt b/test/fuzz/device/cdc/CMakeLists.txt
index fa6e83b7e..8e4db9d29 100644
--- a/test/fuzz/device/cdc/CMakeLists.txt
+++ b/test/fuzz/device/cdc/CMakeLists.txt
@@ -26,4 +26,4 @@ target_include_directories(${PROJECT} PUBLIC
# Configure compilation flags and libraries for the example... see the corresponding function
# in hw/bsp/FAMILY/family.cmake for details.
-family_configure_device_example(${PROJECT}) \ No newline at end of file
+family_configure_device_example(${PROJECT})
diff --git a/test/fuzz/device/cdc/src/fuzz.cc b/test/fuzz/device/cdc/src/fuzz.cc
index d40483ca6..0560e8621 100644
--- a/test/fuzz/device/cdc/src/fuzz.cc
+++ b/test/fuzz/device/cdc/src/fuzz.cc
@@ -143,7 +143,7 @@ void cdc_task(FuzzedDataProvider *provider) {
// TODO: Fuzz interface number
(void)tud_cdc_n_write(0, buffer.data(), buffer.size());
} break;
-
+
case kCdcNWriteChar:
// TODO: Fuzz interface number
(void)tud_cdc_n_write_char(0, provider->ConsumeIntegral<char>());
@@ -171,4 +171,4 @@ case kMaxValue:
break;
}
}
-} \ No newline at end of file
+}