diff options
Diffstat (limited to 'os/io/templates')
-rw-r--r-- | os/io/templates/mac_lld.c | 2 | ||||
-rw-r--r-- | os/io/templates/mac_lld.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/os/io/templates/mac_lld.c b/os/io/templates/mac_lld.c index c9bac58c0..a780a32ff 100644 --- a/os/io/templates/mac_lld.c +++ b/os/io/templates/mac_lld.c @@ -42,7 +42,7 @@ void mac_lld_init(void) { * this parameter is set to @p NULL then a system default MAC is
* used.
*/
-void mac_lld_set_address(MACDriver *macp, uint8_t *p) {
+void mac_lld_set_address(MACDriver *macp, const uint8_t *p) {
}
diff --git a/os/io/templates/mac_lld.h b/os/io/templates/mac_lld.h index 10b84dc0f..377a18ea1 100644 --- a/os/io/templates/mac_lld.h +++ b/os/io/templates/mac_lld.h @@ -75,7 +75,7 @@ typedef struct { extern "C" {
#endif
void mac_lld_init(void);
- void mac_lld_set_address(MACDriver *macp, uint8_t *p);
+ void mac_lld_set_address(MACDriver *macp, const uint8_t *p);
MACTransmitDescriptor *max_lld_get_transmit_descriptor(MACDriver *macp,
size_t size);
void mac_lld_release_transmit_descriptor(MACDriver *macp,
|