demo of driving MAX2719 dot matrix displays with STM32F103 Bluepill
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
f103-dotmatrix/project/spl_assert.c

24 lines
544 B

#include "main.h"
#include "utils/timebase.h"
#include "com/debug.h"
#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
* @return None
*/
void __attribute__((noreturn))
assert_failed(uint8_t* file, uint32_t line)
{
error("Assert failed in file %s, line %"PRIu32".", file, line);
/* Infinite loop */
while (1);
}
#endif