aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-25 10:46:46 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-25 10:46:46 +0200
commitc3858da988fae9d2a103a0cf207e80776a995b0f (patch)
tree0bc0b967db88704db2dcf82fbe0e7f30b69b2dfd
parentdcccf564f0bdc529b4165e4f2e2fb63216da2339 (diff)
fix documentation
-rw-r--r--lib/pbdrv/pb-mod.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/pbdrv/pb-mod.h b/lib/pbdrv/pb-mod.h
index bf5952b..e7b7832 100644
--- a/lib/pbdrv/pb-mod.h
+++ b/lib/pbdrv/pb-mod.h
@@ -62,10 +62,8 @@ void pb_i2c_send(i2c_addr_t i2c_addr, const uint8_t * buf, size_t sz);
/// \}
-/// \ingroup pb_hook
-/// \{
-
/**
+ * \ingroup pb_hook
* \defgroup pb_hook_mod_state State
* \brief Provide your own global state variable
*
@@ -96,6 +94,7 @@ void pb_hook_mod_state_write(pb_global_state_t state);
/// \}
/**
+ * \ingroup pb_hook
* \defgroup pb_hook_i2c I2C
* \brief Intercept incoming/outgoing I2C messages
*
@@ -107,8 +106,6 @@ void pb_hook_i2c_send(i2c_addr_t i2c_addr, const uint8_t * buf, size_t sz);
/// \}
-/// \}
-
#ifdef __cplusplus
}
#endif