Commit 24d55f6
authored
Move LORAMAC[_FALLBACK]?_VERSION macros to the header file (#1291)
* Move LORAMAC[_FALLBACK]?_VERSION macros to the header file
This trivial change makes the two version values accessible to the
application using LoRaMac-node. Being able to obtain the most recent
supported MAC version is useful in case the application needs to
generate data, e.g., for backend (TTN) provisioning.
* Remove ifndef guard surrounding LORAMAC_VERSION
The guard appears to be a leftover from a previous library version and
is no longer needed.1 parent bc9a93e commit 24d55f6
2 files changed
+10
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | 51 | | |
64 | 52 | | |
65 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
86 | 96 | | |
87 | 97 | | |
88 | 98 | | |
| |||
0 commit comments