File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
bsp/renesas/libraries/HAL_Drivers/drivers Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -341,6 +341,11 @@ static int fal_flash_lp_erase(long offset, size_t size)
341341 return _flash_lp_erase (_onchip_flash_lp .addr + offset , size );
342342}
343343
344+ /*
345+ * This callback is intentionally left empty.
346+ * No action is required on flash events in this application.
347+ * If event handling is needed, implement it here.
348+ */
344349void flash_callback (flash_callback_args_t * p_args )
345350{
346351
Original file line number Diff line number Diff line change 2323#include <hal_data.h>
2424
2525#ifndef BIT
26- #define BIT (idx ) (1ul << (idx))
26+ #define BIT (idx ) (1ul << (idx))
2727#endif
2828
2929#ifndef BITS
30- #define BITS (b ,e ) ((((uint32_t)-1)<<(b))&(((uint32_t)-1)>>(31-(e))))
30+ #define BITS (b ,e ) ((((uint32_t)-1)<<(b))&(((uint32_t)-1)>>(31-(e))))
3131#endif
3232
3333#define RA_SCI_EVENT_ABORTED BIT(0)
3737#define RA_SCI_EVENT_ALL BITS(0,3)
3838
3939#ifdef SOC_SERIES_R7FA2E2
40- #define R_IIC_MASTER_Open R_IIC_B_MASTER_Open
41- #define R_IIC_MASTER_Write R_IIC_B_MASTER_Write
42- #define R_IIC_MASTER_Read R_IIC_B_MASTER_Read
40+ #define R_IIC_MASTER_Open R_IIC_B_MASTER_Open
41+ #define R_IIC_MASTER_Write R_IIC_B_MASTER_Write
42+ #define R_IIC_MASTER_Read R_IIC_B_MASTER_Read
4343#define R_IIC_MASTER_SlaveAddressSet R_IIC_B_MASTER_SlaveAddressSet
4444#define R_IIC_MASTER_CallbackSet R_IIC_B_MASTER_CallbackSet
4545#endif
You can’t perform that action at this time.
0 commit comments