1

nullptr instead of 0

This commit is contained in:
2022-07-24 16:55:53 +02:00
parent 18e0a666c8
commit b9477f76ab
2 changed files with 5 additions and 5 deletions

View File

@ -91,7 +91,7 @@ int IntDispatcher::report(unsigned int vector) {
ISR* isr = this->map[vector];
if (isr == 0) {
if (isr == nullptr) {
log.error() << "No ISR registered for vector " << vector << endl;
return -1;
}