* <!-- description --> * @brief Outputs a string and an 64bit dec to the console * * <!-- inputs/outputs --> * @param str the string to output * @param val the 64bit dec value to output */
| 607 | * @param val the 64bit dec value to output |
| 608 | */ |
| 609 | static inline void |
| 610 | bferror_d64(char const *const str, uint64_t const val) |
| 611 | { |
| 612 | char num[65] = {0}; |
| 613 | (void)bfitoa(((uint64_t)val), num, BASE10); |
| 614 | |
| 615 | serial_write("[BAREFLANK ERROR] "); |
| 616 | serial_write(str); |
| 617 | serial_write(": "); |
| 618 | serial_write(num); |
| 619 | serial_write("\n"); |
| 620 | |
| 621 | console_write("[BAREFLANK ERROR] "); |
| 622 | console_write(str); |
| 623 | console_write(": "); |
| 624 | console_write(num); |
| 625 | console_write("\r\n"); |
| 626 | } |
| 627 | |
| 628 | /** |
| 629 | * <!-- description --> |
nothing calls this directly
no test coverage detected