remove HAL implementation files for v3 and v4, and the build script
This commit is contained in:
@@ -27,7 +27,7 @@ static mut LOG_ARRAY: LogArray = LogArray {
|
||||
head: 0,
|
||||
};
|
||||
|
||||
// this is the only reference that is created for LOG_ARRAY and the only way to access it
|
||||
// this is the only reference created for LOG_ARRAY and the only way to access it
|
||||
#[allow(static_mut_refs)]
|
||||
pub static LOG_ACCESS: Mutex<CriticalSectionRawMutex, &'static mut LogArray> =
|
||||
unsafe { Mutex::new(&mut LOG_ARRAY) };
|
||||
@@ -298,7 +298,7 @@ impl From<&LogMessage> for MessageTranslation {
|
||||
}
|
||||
|
||||
impl LogMessage {
|
||||
pub fn to_log_localisation_config() -> Vec<MessageTranslation> {
|
||||
pub fn log_localisation_config() -> Vec<MessageTranslation> {
|
||||
Vec::from_iter((0..LogMessage::len()).map(|i| {
|
||||
let msg_type = LogMessage::from_ordinal(i).unwrap();
|
||||
(&msg_type).into()
|
||||
|
||||
Reference in New Issue
Block a user