nullptr instead of 0
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user