stm32f103 neopixel demo simulating water / waving based on ultrasonic stimulus. This is an earlier version of what later became the "spatial-rgb" project
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-wave-sim/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