Skip to content

Commit 9708225

Browse files
KooLruvirtual-maker
authored andcommitted
Code cleanup
1 parent 82ee553 commit 9708225

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

hal/architecture/STM32/MyHwSTM32.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ void hwReadConfigBlock(void *buf, void *addr, size_t length)
4949
{
5050
uint8_t *dst = static_cast<uint8_t *>(buf);
5151
int offs = reinterpret_cast<int>(addr);
52-
5352
eeprom_buffer_fill();
5453
while (length-- > 0) {
5554
*dst++ = eeprom_buffered_read_byte(offs++);
@@ -60,7 +59,6 @@ void hwWriteConfigBlock(void *buf, void *addr, size_t length)
6059
{
6160
uint8_t *src = static_cast<uint8_t *>(buf);
6261
int offs = reinterpret_cast<int>(addr);
63-
6462
while (length-- > 0) {
6563
eeprom_buffered_write_byte(offs++, *src++);
6664
}

0 commit comments

Comments
 (0)