mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-21 12:21:49 +03:00
7a13391b2b
* File worker: file operations helper. * Notification app: removed yield * File worker: write operations, calls to system file widgets * App ibutton: use file worker * Lfrfid: generic key loading, add path helper and hex conversion to lib * FileWorker: plain C verison * FileWorker: add to lib.mk * FileWorker: add to C sources, instead of CPP * Lfrfid: save scene * App lfrfid: add key scene, saved key menu * App lfrfid: saved key info scene * App lfrfid: delete key scene
20 lines
336 B
C
20 lines
336 B
C
#pragma once
|
|
#include "stdint.h"
|
|
#include "stdbool.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* @brief Convert ASCII hex value to nibble
|
|
*
|
|
* @param c ASCII character
|
|
* @param nibble nibble pointer, output
|
|
* @return bool conversion status
|
|
*/
|
|
bool hex_char_to_hex_nibble(char c, uint8_t* nibble);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif |