mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
fmt: Remove unused pwr function
This commit is contained in:
parent
81bfb0c97a
commit
301a5d8e70
@ -51,17 +51,6 @@ static inline int _is_digit(char c)
|
||||
return (c >= '0' && c <= '9');
|
||||
}
|
||||
|
||||
static inline unsigned pwr(unsigned val, unsigned exp)
|
||||
{
|
||||
unsigned res = 1;
|
||||
|
||||
for (unsigned i = 0; i < exp; i++) {
|
||||
res *= val;
|
||||
}
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
size_t fmt_byte_hex(char *out, uint8_t byte)
|
||||
{
|
||||
if (out) {
|
||||
|
Loading…
Reference in New Issue
Block a user