Skip to content

Commit f977494

Browse files
committed
fix uint32 compile errors
1 parent 5398c25 commit f977494

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/device/rs232/disk.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ rs232Disk::rs232Disk()
3939
// Read disk data and send to computer
4040
void rs232Disk::rs232_read()
4141
{
42-
Debug_printf("disk READ %u\n", cmdFrame.aux);
42+
Debug_printf("disk READ %lu\n", cmdFrame.aux);
4343

44-
if (_disk == nullptr)
44+
if (_disk == nullptr)
4545
{
4646
rs232_error();
4747
return;

lib/device/rs232/fuji.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ void rs232Fuji::rs232_status()
104104
{
105105
char ret[4] = {0};
106106

107-
Debug_printf("Status for what? %08x\n", cmdFrame.aux);
107+
Debug_printf("Status for what? %08lx\n", cmdFrame.aux);
108108
bus_to_computer((uint8_t *)ret, sizeof(ret), false);
109109
}
110110
return;

0 commit comments

Comments
 (0)