This commit is contained in:
Samuel Sadok
2020-09-16 11:29:25 +02:00
parent 1ab47296c0
commit d1b77ac7db

View File

@@ -15,7 +15,7 @@ constexpr size_t hex_digits() {
* @param output If not null, the digit's value is stored in this output
* Returns true if the char is a valid hex digit, false otherwise
*/
static bool hex_digit_to_byte(char ch, uint8_t* output) {
static inline bool hex_digit_to_byte(char ch, uint8_t* output) {
uint8_t nil_output = 0;
if (!output)
output = &nil_output;