Skip to content

Commit a8bee03

Browse files
committed
feat(repo): add legacy header files to maintain compatibility
1 parent 61fbf44 commit a8bee03

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

src/ESP_IOExpander.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
/*
3+
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
4+
*
5+
* SPDX-License-Identifier: Apache-2.0
6+
*/
7+
8+
/**
9+
* This file is just to keep the compatibility with the old version of the library. Please use the file `chip/esp_expander_base.hpp` instead.
10+
*/
11+
12+
#pragma once
13+
14+
#warning "This file is deprecated. Please use the file `chip/esp_expander_base.hpp` instead."
15+
16+
#include "chip/esp_expander_base.hpp"

src/base/esp_io_expander.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
/*
3+
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
4+
*
5+
* SPDX-License-Identifier: Apache-2.0
6+
*/
7+
8+
/**
9+
* This file is just to keep the compatibility with the old version of the library. Please use the file `port/esp_io_expander.h` instead.
10+
*/
11+
12+
#pragma once
13+
14+
#warning "This file is deprecated. Please use the file `port/esp_io_expander.h` instead."
15+
16+
#include "port/esp_io_expander.h"

0 commit comments

Comments
 (0)