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

4 lines
114 B
C

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