bdk: constify various args

This commit is contained in:
CTCaer committed 2024-10-04 21:45:57 +03:00
1 parent b1bc6ebdd8
commit 9e239df39e
20 files changed
+36 -35

No files matched your search

+1 -1
View File
@@ -75,7 +75,7 @@ void bm92t36_get_sink_info(bool *inserted, usb_pd_objects_t *usb_pd)
{
memset(buf, 0, sizeof(buf));
_bm92t36_read_reg(buf, 2, STATUS1_REG);
*inserted = buf[0] & STATUS1_INSERT ? true : false;
*inserted = (buf[0] & STATUS1_INSERT) ? true : false;
}
if (usb_pd)