mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Everywhere: Replace a bundle of dbg with dbgln.
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
This commit is contained in:
@@ -24,12 +24,11 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <AK/Debug.h>
|
||||
#include <Kernel/Assertions.h>
|
||||
#include <Kernel/Time/HPETComparator.h>
|
||||
#include <Kernel/Time/TimeManagement.h>
|
||||
|
||||
//#define HPET_COMPARATOR_DEBUG
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
NonnullRefPtr<HPETComparator> HPETComparator::create(u8 number, u8 irq, bool periodic_capable)
|
||||
@@ -110,9 +109,7 @@ bool HPETComparator::try_to_set_frequency(size_t frequency)
|
||||
m_frequency = frequency;
|
||||
m_enabled = true;
|
||||
|
||||
#ifdef HPET_COMPARATOR_DEBUG
|
||||
dbg() << "HPET Comparator: Max frequency " << hpet_frequency << " Hz, want to set " << frequency << " Hz, periodic: " << is_periodic();
|
||||
#endif
|
||||
dbgln<debug_hpet_comperator>("HPET Comparator: Max frequency {} Hz, want to set {} Hz, periodic: {}", hpet_frequency, frequency, is_periodic());
|
||||
|
||||
if (is_periodic()) {
|
||||
HPET::the().update_periodic_comparator_value();
|
||||
|
||||
Reference in New Issue
Block a user