Skip to content

Commit ce32d91

Browse files
committed
fix: correct ADVERT_NAME for ThinkNode M5 (was M2)
Repeater and Room Server environments in variants/thinknode_m5/platformio.ini were using 'Thinknode M2' as the ADVERT_NAME, causing M5 nodes to advertise with the wrong device name on the mesh. - env:ThinkNode_M5_Repeater: 'Thinknode M2 Repeater' -> 'Thinknode M5 Repeater' - env:ThinkNode_M5_room_server: 'Thinknode M2 Room Server' -> 'Thinknode M5 Room Server'
1 parent 27f7326 commit ce32d91

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

variants/thinknode_m5/platformio.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ build_src_filter = ${ThinkNode_M5.build_src_filter}
5858
+<../examples/simple_repeater/*.cpp>
5959
build_flags =
6060
${ThinkNode_M5.build_flags}
61-
-D ADVERT_NAME='"Thinknode M2 Repeater"'
61+
-D ADVERT_NAME='"Thinknode M5 Repeater"'
6262
-D ADVERT_LAT=0.0
6363
-D ADVERT_LON=0.0
6464
-D ADMIN_PASSWORD='"password"'
@@ -116,7 +116,7 @@ build_src_filter = ${ThinkNode_M5.build_src_filter}
116116
+<../examples/simple_room_server>
117117
build_flags =
118118
${ThinkNode_M5.build_flags}
119-
-D ADVERT_NAME='"Thinknode M2 Room Server"'
119+
-D ADVERT_NAME='"Thinknode M5 Room Server"'
120120
-D ADVERT_LAT=0.0
121121
-D ADVERT_LON=0.0
122122
-D ADMIN_PASSWORD='"password"'

0 commit comments

Comments
 (0)