mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-02-11 02:41:04 +00:00
Changed fromHex() to use an supplied buffer
Solves the problem with returning a pointer to local variable. Signed-off-by: Karl Thorén <karl.h.thoren@gmail.com>
This commit is contained in:
@@ -107,7 +107,7 @@ private:
|
||||
void notFound();
|
||||
|
||||
String toHex(uint8_t* in, uint8_t size);
|
||||
uint8_t* fromHex(String in, uint8_t size);
|
||||
void fromHex(uint8_t *out, String in, uint8_t size);
|
||||
|
||||
void printD(String fmt, ...);
|
||||
void printI(String fmt, ...);
|
||||
|
||||
Reference in New Issue
Block a user