add interrupts for most handlers

This commit is contained in:
sigil-03 2025-08-21 11:08:26 -06:00
parent e3235b34a4
commit a71c7986e6
15 changed files with 1028 additions and 280 deletions

View file

@ -1,6 +1,6 @@
use ch32_hal::timer::Channel;
use crate::insert_coin::services::{Service, TickService, TickServiceData};
use crate::insert_coin::services::{Service};
pub struct LedService {
// need_service: core::cell::RefCell<bool>,
@ -10,7 +10,7 @@ pub struct LedService {
}
impl LedService {
pub fn new(channel: Channel, service_data: TickServiceData) -> Self {
pub fn new(channel: Channel) -> Self {
Self {
// service_data: core::cell::RefCell::new(service_data),
need_service: false,