X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fdrivers%2Fao_cc1200.h;h=8e17bbd9fb0837b31ac7310ead20c201c0ddecd3;hb=refs%2Fheads%2Fmaster;hp=b2b63cde490a1b5c294e64111ed7c2bf39aeee88;hpb=135abf0e7c5ceb5738a0b5f68fe2be4b7abdae5e;p=fw%2Faltos diff --git a/src/drivers/ao_cc1200.h b/src/drivers/ao_cc1200.h index b2b63cde..6ab04ecd 100644 --- a/src/drivers/ao_cc1200.h +++ b/src/drivers/ao_cc1200.h @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -590,6 +591,8 @@ #define CC1200_FSCAL_CTRL (CC1200_EXTENDED_BIT | 0x8d) #define CC1200_PHASE_ADJUST (CC1200_EXTENDED_BIT | 0x8e) #define CC1200_PARTNUMBER (CC1200_EXTENDED_BIT | 0x8f) +#define CC1200_PARTNUMBER_CC1200 0x20 +#define CC1200_PARTNUMBER_CC1201 0x21 #define CC1200_PARTVERSION (CC1200_EXTENDED_BIT | 0x90) #define CC1200_SERIAL_STATUS (CC1200_EXTENDED_BIT | 0x91) #define CC1200_MODEM_STATUS1 (CC1200_EXTENDED_BIT | 0x92)