fatfs: make global constants extern

pull/6150/merge
Ivan Grokhotkov 2022-01-14 18:33:37 +01:00 zatwierdzone przez Anton Maklakov
rodzic 771f5d32eb
commit f770cf721a
2 zmienionych plików z 7 dodań i 16 usunięć

Wyświetl plik

@ -1,16 +1,8 @@
// Copyright 2015-2017 Espressif Systems (Shanghai) PTE LTD /*
// * SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
// Licensed under the Apache License, Version 2.0 (the "License"); *
// you may not use this file except in compliance with the License. * SPDX-License-Identifier: Apache-2.0
// 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.
#pragma once #pragma once
@ -30,8 +22,8 @@
} \ } \
} while(0) } while(0)
const char* fatfs_test_hello_str; extern const char* fatfs_test_hello_str;
const char* fatfs_test_hello_str_utf; extern const char* fatfs_test_hello_str_utf;
void test_fatfs_create_file_with_text(const char* name, const char* text); void test_fatfs_create_file_with_text(const char* name, const char* text);

Wyświetl plik

@ -859,7 +859,6 @@ components/fatfs/src/ffconf.h
components/fatfs/src/ffsystem.c components/fatfs/src/ffsystem.c
components/fatfs/src/ffunicode.c components/fatfs/src/ffunicode.c
components/fatfs/test/test_fatfs_common.c components/fatfs/test/test_fatfs_common.c
components/fatfs/test/test_fatfs_common.h
components/fatfs/test/test_fatfs_rawflash.c components/fatfs/test/test_fatfs_rawflash.c
components/fatfs/test/test_fatfs_spiflash.c components/fatfs/test/test_fatfs_spiflash.c
components/fatfs/test_fatfs_host/main.cpp components/fatfs/test_fatfs_host/main.cpp