mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #12690 from benpicco/atmega_cpu_id-fixup
cpu/atmega_common: cpuid: add a word of warning
This commit is contained in:
commit
614d81f6bb
@ -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