File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
os/hal/ports/SN32/SN32F240C Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 293293 *
294294 * @api
295295 */
296- #define sys1EnableI2C0 () sys1EnableAHB(0x1<<20 )
296+ #define sys1EnableI2C0 () sys1EnableAHB(0x1<<21 )
297297
298298/**
299299 * @brief Disables the I2C0 peripheral clock.
300300 *
301301 * @api
302302 */
303- #define sys1DisableI2C0 () sys1DisableAHB(0x1<<20 )
303+ #define sys1DisableI2C0 () sys1DisableAHB(0x1<<21 )
304304
305305/**
306306 * @name I2C1 peripherals specific SYS1 operations
311311 *
312312 * @api
313313 */
314- #define sys1EnableI2C1 () sys1EnableAHB(0x1<<21 )
314+ #define sys1EnableI2C1 () sys1EnableAHB(0x1<<20 )
315315
316316/**
317317 * @brief Disables the I2C1 peripheral clock.
318318 *
319319 * @api
320320 */
321- #define sys1DisableI2C1 () sys1DisableAHB(0x1<<21 )
321+ #define sys1DisableI2C1 () sys1DisableAHB(0x1<<20 )
322322
323323/**
324324 * @name WDT peripherals specific SYS1 operations
You can’t perform that action at this time.
0 commit comments