aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-26 13:11:54 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-26 13:11:54 +0200
commitad3e4f50ab83036ab974b4f30295c873dac3c7f0 (patch)
tree344531a2411259395762c7ac91c802cafd090b92 /main
parentf35e4886d4036a90617305003959b8b9e6b62f43 (diff)
no more undocumented things
Diffstat (limited to 'main')
-rw-r--r--main/config.def.h2
-rw-r--r--main/i2c.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/main/config.def.h b/main/config.def.h
index cb6e8b4..1ec8a5c 100644
--- a/main/config.def.h
+++ b/main/config.def.h
@@ -71,10 +71,10 @@
#ifdef CFG_NET_DISABLE
#undef CFG_NET_COUNTRY
+//! Radio communications country
#define CFG_NET_COUNTRY CYW43_COUNTRY_WORLDWIDE
#endif
#ifndef CFG_NET_COUNTRY
-//! Radio communications country
#define CFG_NET_COUNTRY CYW43_COUNTRY_NETHERLANDS
#endif
/// \}
diff --git a/main/i2c.c b/main/i2c.c
index 19027b3..b68d0e0 100644
--- a/main/i2c.c
+++ b/main/i2c.c
@@ -12,6 +12,7 @@
#include "pb-buf.h"
#include "pb-send.h"
+//! Puzzle module handle
typedef struct {
i2c_addr_t sender; //!< I2C address of sender
pb_global_state_t state; //!< global state