kopia lustrzana https://github.com/mobilinkd/tnc3-firmware
Log an error if an assertion fails.
rodzic
3eba2f3566
commit
308ef55ac4
|
@ -1657,8 +1657,7 @@ 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,
|
||||
tex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
|
||||
|
||||
_Error_Handler(__FILE__, __LINE__);
|
||||
ERROR("Wrong parameters value: file %s on line %d", file, line);
|
||||
/* USER CODE END 6 */
|
||||
}
|
||||
#endif /* USE_FULL_ASSERT */
|
||||
|
|
Ładowanie…
Reference in New Issue