Add debug_log, fix tx_bht (#1149)

This commit is contained in:
Kyle Reed 2023-06-12 23:14:26 -07:00 committed by GitHub
parent 3db2053c21
commit 19491ce3f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 32 additions and 24 deletions

View file

@ -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);