Diff between c8b518daa928aa93c47dd24f48a5736d43c4c5fb and a9393b2e9eec078e3eb6174c3ecde27119d15adf
Changed Files
| File | Additions | Deletions | Status |
| mesh/agent.c | +2 | -2 | modified |
Full Patch
diff --git a/mesh/agent.c b/mesh/agent.c
index 5058d0d..2f9697a 100644
--- a/mesh/agent.c
+++ b/mesh/agent.c
@@ -61,7 +61,7 @@ struct oob_info {
uint16_t mask;
};
-static struct prov_action cap_table[] = {
+static const struct prov_action cap_table[] = {
{"blink", 0x0001, 0x0000, 1},
{"beep", 0x0002, 0x0000, 1},
{"vibrate", 0x0004, 0x0000, 1},
@@ -73,7 +73,7 @@ static struct prov_action cap_table[] = {
{"in-alpha", 0x0000, 0x0008, 8}
};
-static struct oob_info oob_table[] = {
+static const struct oob_info oob_table[] = {
{"other", 0x0001},
{"uri", 0x0002},
{"machine-code-2d", 0x0004},