mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:07:35 +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:
parent
b035267afa
commit
c891c87cb5
3 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue