Skip to content

Commit 6d87e88

Browse files
author
hyhkjiy
committed
[UPD]删除无效代码和文件
1 parent de755a0 commit 6d87e88

File tree

6 files changed

+4
-94
lines changed

6 files changed

+4
-94
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
*.pyc
22
*.o
33
language.settings.xml
4-
.DS_Store
4+
.DS_Store
5+
.vscode

.vscode/settings.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

projects/art_pi_ble_mesh_gateway/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ rt-thread.hex
66
rtthread.bin
77
rtthread.map
88
.sconsign.dblite
9-
.config.old
9+
.config.old
10+
.settings/art_pi_ble_mesh_gateway.JLink.Debug.rttlaunch

projects/art_pi_ble_mesh_gateway/.settings/art_pi_ble_mesh_gateway.JLink.Debug.rttlaunch

Lines changed: 0 additions & 83 deletions
This file was deleted.

projects/art_pi_ble_mesh_gateway/applications/app_mesh_device.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ static void command_handler(uint8_t *command)
118118

119119
static void mesh_command_rx_thread_entry(void *parameter)
120120
{
121-
rt_err_t result;
122121
rt_uint32_t rx_length = 0;
123122
char rx_buffer[11];
124123

projects/art_pi_ble_mesh_gateway/modules/basic/basic.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ Author: WKJay
3232

3333
#define BLUE_LED GET_PIN(I, 8)
3434
#define RED_LED GET_PIN(C, 15)
35-
static uint8_t blue_led_stat = 0, red_led_stat = 0;
3635

3736
extern void mesh_send_command(command_opcode_t opc, uint16_t addr, uint8_t *data);
3837

@@ -45,8 +44,6 @@ static char *board_control(uint16_t addr, command_opcode_t code, uint8_t *data)
4544

4645
static char *json_create_basic_info(void)
4746
{
48-
char temp[100];
49-
5047
//ram usage
5148
cJSON *root = mesh_nodes_dump();
5249

0 commit comments

Comments
 (0)