mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/atmega_common: cpuid: add a word of warning
The CPU ID only differs in byte 4 (RC calibration) between devices. Add a word of warning to the documentation that this may not be very unique.
This commit is contained in:
parent
a78bdaa85a
commit
3ce6ddcdb2
@ -21,6 +21,10 @@
|
||||
#include <stdint.h>
|
||||
#include "avr/boot.h"
|
||||
|
||||
/*
|
||||
* This uses the RC calibration byte as CPU ID, so it may not be very unique.
|
||||
* The first three bytes are constant across different MCUs of the same series.
|
||||
*/
|
||||
void cpuid_get(void *id)
|
||||
{
|
||||
uint8_t *out = id;
|
||||
|
Loading…
Reference in New Issue
Block a user