kopia lustrzana https://github.com/jackfagner/NfcKey
Added AGPL header
rodzic
e2db49912e
commit
45b6511440
20
NfcKeyC.ino
20
NfcKeyC.ino
|
@ -1,3 +1,21 @@
|
|||
/*
|
||||
Copyright (C) 2018 github.com/Sinitax
|
||||
|
||||
This file is part of NfcKey.
|
||||
|
||||
NfcKey is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
NfcKey is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with NfcKey. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include <SPI.h>
|
||||
#include <MFRC522.h>
|
||||
|
||||
|
@ -118,4 +136,4 @@ uint16_t getpack(uint8_t* uid)
|
|||
|
||||
p = (p ^ 0x5555) & 0xFFFF;
|
||||
return (p & 0xFF00) >> 8 | (p & 0x00FF) << 8;
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue