mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-22 22:41:10 -04:00
Add debug_log, fix tx_bht (#1149)
This commit is contained in:
parent
3db2053c21
commit
19491ce3f7
6 changed files with 32 additions and 24 deletions
|
@ -24,6 +24,12 @@
|
|||
#define __DEBUG_H__
|
||||
|
||||
#include "hackrf_gpio.hpp"
|
||||
#include <string>
|
||||
|
||||
void __debug_log(const std::string& msg);
|
||||
#define __LOG2(l, msg) __debug_log(std::string{#l} + ":" + msg)
|
||||
#define __LOG1(l, msg) __LOG2(l, msg)
|
||||
#define DEBUG_LOG(msg) __LOG1(__LINE__, msg)
|
||||
|
||||
extern void draw_guru_meditation(uint8_t, const char*);
|
||||
extern void draw_guru_meditation(uint8_t, const char*, struct extctx*, uint32_t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue