added the f!() macro to the library to make shure that all random text can be written to the progmem to save the important ram

This commit is contained in:
Zenn 2023-08-07 20:40:06 +02:00
parent b00ee76ef1
commit 990ae0c03c
11 changed files with 71 additions and 97 deletions

View file

@ -19,7 +19,7 @@ pub use crate::library::c::*;
pub use crate::library::eeprom::EEPROM;
pub use crate::library::sprites;
pub use crate::print::*;
pub use crate::{get_sprite_addr, get_string_addr, get_tones_addr, progmem};
pub use crate::{f, get_sprite_addr, get_string_addr, get_tones_addr, progmem};
use core::cmp;
pub fn constrain<T: Ord>(x: T, a: T, b: T) -> T {