File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -2833,6 +2833,8 @@ void Handle_ESP32_Message(char *SerialBuf, uint8_t *CommState) {
28332833 if (ret != NULL ) {
28342834 unsigned long WCHRunningVersion = atoi (ret+strlen (token));
28352835 _LOG_V (" version %lu received\n " , WCHRunningVersion);
2836+ SendConfigToCH32 ();
2837+ Serial1.printf (" @Initialized:1\n " ); // this finalizes the Config setup phase
28362838 *CommState = COMM_CONFIG_SET;
28372839 return ;
28382840 }
@@ -3208,9 +3210,6 @@ void Timer10ms_singlerun(void) {
32083210
32093211 case COMM_CONFIG_SET: // Set mainboard configuration
32103212 CommTimeout = 10 ;
3211-
3212- SendConfigToCH32 ();
3213- Serial1.printf (" @Initialized:1\n " ); // this finalizes the Config setup phase
32143213 break ;
32153214
32163215 case COMM_STATUS_REQ: // Ready to receive status from mainboard
You can’t perform that action at this time.
0 commit comments