Skip to content

Commit 092297a

Browse files
committed
remove debug printf
1 parent 0d1c6c2 commit 092297a

File tree

1 file changed

+0
-2
lines changed
  • targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F429xI/device

1 file changed

+0
-2
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F429xI/device/flash_api.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,14 +159,12 @@ static uint32_t GetSector(uint32_t address)
159159
tmp = address - ADDR_FLASH_SECTOR_12;
160160
}
161161
if (address < ADDR_FLASH_SECTOR_4) { // 16k sectorsize
162-
//printf("tmp for sectors less than 4: 0X%4x")
163162
sector += tmp >>14;
164163
} else if (address < ADDR_FLASH_SECTOR_5) { //64k sector size
165164
sector += FLASH_SECTOR_4;
166165
} else {
167166
sector += 4 + (tmp >>17);
168167
}
169-
printf("address:0X%04x%04x, secteur: %d\n", (address>>16)&0XFFFF, (address&0XFFFF), sector);
170168
return sector;
171169
}
172170

0 commit comments

Comments
 (0)