diff options
author | jaseg <git@jaseg.de> | 2023-08-27 22:31:09 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-08-27 22:31:09 +0200 |
commit | ec28fcd9f905358759eea98161f451567135d17e (patch) | |
tree | ed8f0f4f96811433ddca5f294f731c7584549a36 /driver_fw/mac.h | |
parent | 7c2cb09fad601facbb142d9378033d64d19b6488 (diff) | |
download | 8seg-ec28fcd9f905358759eea98161f451567135d17e.tar.gz 8seg-ec28fcd9f905358759eea98161f451567135d17e.tar.bz2 8seg-ec28fcd9f905358759eea98161f451567135d17e.zip |
new driver blinkenlights
Diffstat (limited to 'driver_fw/mac.h')
-rw-r--r-- | driver_fw/mac.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/driver_fw/mac.h b/driver_fw/mac.h deleted file mode 100644 index 26aaff6..0000000 --- a/driver_fw/mac.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef __MAC_H__ -#define __MAC_H__ - -#include <unistd.h> - -/* Device MAC address. - * - * 32 bits might seem a little short for a device MAC, but at 20 bus nodes the probablility of a collision is about 1 in - * 10 million. Check for yourself using the python code below. - * - * #!/usr/bin/env python3 - * from operator import mul - * from functools import reduce - * m = 32 - * n = 20 - * print(reduce(mul, [2**m-i for i in range(n)]) / ((2**m)**n)) - * # -> 0.9999999557621786 - */ - -extern uint32_t device_mac; - -#endif /* __MAC_H__ */ |