* <!-- description --> * @brief Outputs a string and an 16bit dec to the console * * <!-- inputs/outputs --> * @param str the string to output * @param val the 16bit dec value to output */
| 178 | * @param val the 16bit dec value to output |
| 179 | */ |
| 180 | static inline void |
| 181 | bfdebug_d16(char const *const str, uint16_t const val) |
| 182 | { |
| 183 | char num[65] = {0}; |
| 184 | bfitoa(((uint64_t)val), num, BASE10); |
| 185 | |
| 186 | serial_write("[BAREFLANK DEBUG] "); |
| 187 | serial_write(str); |
| 188 | serial_write(": "); |
| 189 | serial_write(num); |
| 190 | serial_write("\n"); |
| 191 | |
| 192 | DbgPrintEx(DPFLTR_IHVDRIVER_ID, DPFLTR_INFO_LEVEL, "[BAREFLANK DEBUG] %s: %s\n", str, num); |
| 193 | } |
| 194 | |
| 195 | /** |
| 196 | * <!-- description --> |
nothing calls this directly
no test coverage detected