unleashed-firmware/applications/plugins/totp/services/convert/convert.h

5 lines
114 B
C
Raw Normal View History

#pragma once
#define CONVERT_DIGIT_TO_CHAR(digit) ((digit) + '0')
#define CONVERT_CHAR_TO_DIGIT(ch) ((ch) - '0')