Skip to content

Commit 28ef621

Browse files
committed
remove unnecessary code
1 parent 5cd3a1f commit 28ef621

File tree

1 file changed

+0
-2
lines changed
  • bsp/raspberry-pi/raspi4-32/driver

1 file changed

+0
-2
lines changed

bsp/raspberry-pi/raspi4-32/driver/mbox.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ int mbox_call(unsigned char ch, int mmu_enable)
3333
/* write the address of our message to the mailbox with channel identifier */
3434
*MBOX_WRITE = r;
3535
/* now wait for the response */
36-
// rt_kprintf("mailbox request %x\n",r);
3736
while(1)
3837
{
3938
/* is there a response? */
@@ -44,7 +43,6 @@ int mbox_call(unsigned char ch, int mmu_enable)
4443
/* is it a response to our message? */
4544
if (r == *MBOX_READ){
4645
/* is it a valid successful response? */
47-
//rt_kprintf("mbox: %x, %x, %x, %x, %x, %x, %x, %x\n", mbox[0], mbox[1], mbox[2], mbox[3], mbox[4], mbox[5], mbox[6], mbox[7]);
4846
return mbox[1] == MBOX_RESPONSE;
4947
}
5048
}

0 commit comments

Comments
 (0)