Skip to content

Commit cfb8451

Browse files
committed
Use the fixed 'ruduino::cores::current' module rather than hardcoding
This is possible with the dependency update.
1 parent efc668e commit cfb8451

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
#![no_std]
44
#![no_main]
55

6-
use ruduino::cores::atmega328p as avr_core;
76
use ruduino::Register;
8-
9-
use avr_core::{DDRB, PORTB};
7+
use ruduino::cores::current::{DDRB, PORTB};
108

119
#[no_mangle]
1210
pub extern fn main() {

0 commit comments

Comments
 (0)