good const, bad const, fixing -Wincompatible-pointer-types-discards-qualifiers
This commit is contained in:
@@ -253,7 +253,7 @@ char *GetVersionStr(uint8_t major, uint8_t minor) {
|
||||
void GetKeySettings(uint8_t *aid) {
|
||||
|
||||
char messStr[512] = {0x00};
|
||||
char *str = messStr;
|
||||
const char *str = messStr;
|
||||
uint8_t isOK = 0;
|
||||
uint32_t options;
|
||||
UsbCommand c = {CMD_MIFARE_DESFIRE};
|
||||
|
||||
Reference in New Issue
Block a user