1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:27:43 +00:00

Kernel: Rename HardwareTimer::change_function() => set_callback()

Also make it non-virtual since nothing needs to override it.
This commit is contained in:
Andreas Kling 2020-04-16 18:51:39 +02:00
parent b035267afa
commit c891c87cb5
3 changed files with 5 additions and 4 deletions

View file

@ -48,7 +48,8 @@ public:
virtual const char* model() const = 0;
virtual const char* purpose() const override;
virtual void change_function(Function<void(const RegisterState&)>);
void set_callback(Function<void(const RegisterState&)>);
virtual size_t ticks_per_second() const = 0;
virtual bool is_periodic() const = 0;