X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Favr%2Fdrv%2Fflash_avr.h;h=b75a38b8b3ef1f80654116b8a0dbd0865abc1566;hb=2e1423c0e63c12bb4eb996480ec2a51f8899aa88;hp=6556e95d87ec70461b06ca25f422de76ff0c34cd;hpb=29139f176f00b23f2856b98c1d1b44d39c0fb8ad;p=bertos.git diff --git a/bertos/cpu/avr/drv/flash_avr.h b/bertos/cpu/avr/drv/flash_avr.h index 6556e95d..b75a38b8 100644 --- a/bertos/cpu/avr/drv/flash_avr.h +++ b/bertos/cpu/avr/drv/flash_avr.h @@ -42,8 +42,10 @@ #include "cfg/cfg_emb_flash.h" #if !CONFIG_FLASH_DISABLE_OLD_API + /* For backwards compatibility */ #define FlashAvr Flash + #define flash_avr_init(fls) flash_init(fls); #endif /* !CONFIG_FLASH_DISABLE_OLD_API */ #endif /* DRV_FLASH_AVR_H */