Removed USB serial console.

This commit is contained in:
Chris Trimble 2024-07-12 17:23:02 -05:00
parent 3a86b52431
commit a1ff58b9ca
3 changed files with 3478 additions and 11 deletions

View File

@ -3,7 +3,7 @@
#define _VERSION_H #define _VERSION_H
#define VERSION_MAJOR (1) #define VERSION_MAJOR (1)
#define VERSION_MINOR (0) #define VERSION_MINOR (0)
#define VERSION_PATCH (3) #define VERSION_PATCH (4)
#define VERSION_STR "V1.0.3" #define VERSION_STR "V1.0.4"
#endif #endif

View File

@ -202,19 +202,19 @@ int main(void)
m_adc2_filtered_ready = false; m_adc2_filtered_ready = false;
} }
if ((HAL_GetTick() - prev_uart_tick) >= UART_LOOP_TIME) // if ((HAL_GetTick() - prev_uart_tick) >= UART_LOOP_TIME)
{ // {
prev_uart_tick = HAL_GetTick(); // prev_uart_tick = HAL_GetTick();
int len = snprintf(buf, 512, "Master\tCh1\tCh2\tCh3\tCh4\t\r\n"); // int len = snprintf(buf, 512, "Master\tCh1\tCh2\tCh3\tCh4\t\r\n");
len += snprintf((buf + len), (512 - len), "%03.1f\t%03.1f\t%03.1f\t%03.1f\t%03.1f\t\r\n", // len += snprintf((buf + len), (512 - len), "%03.1f\t%03.1f\t%03.1f\t%03.1f\t%03.1f\t\r\n",
m_sliders[0], m_sliders[1], m_sliders[2], m_sliders[3], m_sliders[4]); // m_sliders[0], m_sliders[1], m_sliders[2], m_sliders[3], m_sliders[4]);
len += snprintf((buf + len), (512 - len), "Version: %s\r\n", VERSION_STR); // len += snprintf((buf + len), (512 - len), "Version: %s\r\n", VERSION_STR);
CDC_Transmit_FS((uint8_t *)buf, len); // CDC_Transmit_FS((uint8_t *)buf, len);
} // }
if ((HAL_GetTick() - prev_btn_time) >= BTN_POLL_TIME) if ((HAL_GetTick() - prev_btn_time) >= BTN_POLL_TIME)
{ {

3467
Releases/FW_1-0-4.hex Normal file

File diff suppressed because it is too large Load Diff