mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-22 08:16:16 +08:00
waveshare: bugfix
This commit is contained in:
parent
f828240af4
commit
b92c9e845d
|
@ -147,8 +147,8 @@ static int read_bmp_bitmap(const uint8_t *bmp, const size_t bmpsize, uint8_t **b
|
|||
for (X = 0; X < Bmp_Width_Byte; X++) { // lines
|
||||
if ((X < Image_Width_Byte) && ((X + (pbmpheader->BMP_Height - Y - 1) * Image_Width_Byte) < WSMAPSIZE)) {
|
||||
(*black)[X + (pbmpheader->BMP_Height - Y - 1) * Image_Width_Byte] = color_flag ? bmp[offset] : ~bmp[offset];
|
||||
offset++;
|
||||
}
|
||||
offset++;
|
||||
}
|
||||
}
|
||||
return PM3_SUCCESS;
|
||||
|
|
Loading…
Reference in a new issue