1
0
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:
Marian Buschsieweke 2019-11-11 19:00:13 +01:00 committed by GitHub
commit 614d81f6bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;