From 52e34fb7fd0fc7e03b76e0a1f4122f04a43e699b Mon Sep 17 00:00:00 2001 From: david zuhn Date: Fri, 22 Apr 2022 00:23:53 -0500 Subject: [PATCH] usb_serial_jtag: make CONFIG_DEFAULT initializer match order of structure definition --- .../driver/include/driver/usb_serial_jtag.h | 20 ++++++------------- tools/ci/check_copyright_ignore.txt | 1 - 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/components/driver/include/driver/usb_serial_jtag.h b/components/driver/include/driver/usb_serial_jtag.h index e9c253b0a5..f9d0d3f7f4 100644 --- a/components/driver/include/driver/usb_serial_jtag.h +++ b/components/driver/include/driver/usb_serial_jtag.h @@ -1,16 +1,8 @@ -// Copyright 2021 Espressif Systems (Shanghai) PTE LTD -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +/* + * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD + * + * SPDX-License-Identifier: Apache-2.0 + */ #pragma once @@ -33,8 +25,8 @@ typedef struct { } usb_serial_jtag_driver_config_t; #define USB_SERIAL_JTAG_DRIVER_CONFIG_DEFAULT() (usb_serial_jtag_driver_config_t) {\ - .rx_buffer_size = 256,\ .tx_buffer_size = 256,\ + .rx_buffer_size = 256,\ } /** diff --git a/tools/ci/check_copyright_ignore.txt b/tools/ci/check_copyright_ignore.txt index 0d6d82ea79..64a3a52b55 100644 --- a/tools/ci/check_copyright_ignore.txt +++ b/tools/ci/check_copyright_ignore.txt @@ -398,7 +398,6 @@ components/bt/host/bluedroid/stack/smp/smp_main.c components/bt/host/bluedroid/stack/smp/smp_utils.c components/console/linenoise/linenoise.c components/console/linenoise/linenoise.h -components/driver/include/driver/usb_serial_jtag.h components/esp32/include/rom/aes.h components/esp32/include/rom/bigint.h components/esp32/include/rom/cache.h