c++ works now

This commit is contained in:
2025-10-14 20:01:56 -05:00
parent d86bd19ed2
commit 39f0c3a2b8
5 changed files with 762 additions and 11 deletions

View File

@@ -17,7 +17,9 @@
*/
/* USER CODE END Header */
/* Includes ------------------------------------------------------------------*/
extern "C" {
#include "main.h"
}
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
@@ -292,8 +294,7 @@ void Error_Handler(void)
void assert_failed(uint8_t *file, uint32_t line)
{
/* USER CODE BEGIN 6 */
/* User can add his own implementation to report the file name and line number,
ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
// ugh
/* USER CODE END 6 */
}
#endif /* USE_FULL_ASSERT */