* <!-- description --> * @brief Outputs a string and an 32bit dec to the console * * <!-- inputs/outputs --> * @param str the string to output * @param val the 32bit dec value to output */
| 318 | * @param val the 32bit dec value to output |
| 319 | */ |
| 320 | static inline void |
| 321 | bfdebug_d32(char const *const str, uint32_t const val) |
| 322 | { |
| 323 | char num[65] = {0}; |
| 324 | (void)bfitoa(((uint64_t)val), num, BASE10); |
| 325 | |
| 326 | serial_write("[BAREFLANK DEBUG] "); |
| 327 | serial_write(str); |
| 328 | serial_write(": "); |
| 329 | serial_write(num); |
| 330 | serial_write("\n"); |
| 331 | |
| 332 | console_write("[BAREFLANK DEBUG] "); |
| 333 | console_write(str); |
| 334 | console_write(": "); |
| 335 | console_write(num); |
| 336 | console_write("\r\n"); |
| 337 | } |
| 338 | |
| 339 | /** |
| 340 | * <!-- description --> |
no test coverage detected