Squashed 'DCPlugin/' changes from f3adba2..1eb2ac3
1eb2ac3 Use const-pointer git-subtree-dir: DCPlugin git-subtree-split: 1eb2ac3a1df01a7af3244f6fe495a8b143d946bf
This commit is contained in:
parent
acde999b9d
commit
ee902898c4
@ -954,7 +954,7 @@ uint8_t epi_restoreMifData(uint8_t blkNr, uint8_t *buf, uint8_t maxBufferSize) {
|
||||
return 0; // ois OK
|
||||
}
|
||||
|
||||
void gpi_storeNewMifareCard(uint8_t typ, uint8_t *holder) {
|
||||
void gpi_storeNewMifareCard(uint8_t typ, uint8_t const *holder) {
|
||||
SharedMemBuffer::getData()->mif_cardType = typ;
|
||||
strncpy((char *)holder, (char *)SharedMemBuffer::getData()->mif_cardHolder, 7);
|
||||
SharedMemBuffer::getData()->mif_cardHolder[7] = '\0';
|
||||
|
Loading…
Reference in New Issue
Block a user