Skip to content

Commit 00590f0

Browse files
authored
Update devaddr.rs
make function public to make everything work
1 parent db5cf28 commit 00590f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chirpstack/src/devaddr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const NUMBER_OF_SLOTS: u32 = 64;
99
static mut CURRENT_SLOT: u32 = 0;
1010

1111
// project/chirpstack/src/devaddr.rs
12-
fn get_random_dev_addr() -> DevAddr {
12+
pub fn get_random_dev_addr() -> DevAddr {
1313
// check whether we still have any time slots left
1414
unsafe {
1515
// old implementation, panic if I run out of time slots

0 commit comments

Comments
 (0)