#ifdef USE_FULL_ASSERT /** * @brief Reports the NAME of the source file AND the source LINE number * where the assert_param ERROR has occurred. * @param file: pointer TO the source file NAME * @param LINE: assert_param ERROR LINE source number * @retval None */ void assert_failed(uint8_t *file, uint32_t LINE) { /* User can add his own implementation TO report the file NAME AND LINE number, ex: printf("Wrong parameters value: file %s on line %d", file, LINE) */ sysLogFAULT(HFAULT, "ASSER_FAILED: file: %c line: %u", file, LINE); /* Infinite LOOP */ WHILE (1) { } } #endif