@@ -95,7 +95,7 @@ static void IrqCallback(external_irq_callback_args_t * p_args) {
95
95
void * param = (void *)p_args->p_context ;
96
96
uint32_t ch = p_args->channel ;
97
97
98
- CIrq *irq_context = nullptr ;
98
+ auto *irq_context = nullptr ;
99
99
100
100
if (ch < MAX_IRQ_CHANNEL) {
101
101
irq_context = IrqChannel.get (ch,false );
@@ -118,7 +118,7 @@ static void IrqCallback(external_irq_callback_args_t * p_args) {
118
118
void detachInterrupt (pin_size_t pinNumber) {
119
119
/* -------------------------------------------------------------------------- */
120
120
121
- CIrq *irq_context = nullptr ;
121
+ auto *irq_context = nullptr ;
122
122
const int ch = pin2IrqChannel (pinNumber);
123
123
124
124
if (ch >= 0 && ch < MAX_IRQ_CHANNEL) {
@@ -137,7 +137,7 @@ void detachInterrupt(pin_size_t pinNumber) {
137
137
void attachInterruptParam (pin_size_t pinNumber, voidFuncPtrParam func, PinStatus mode, void * param) {
138
138
/* -------------------------------------------------------------------------- */
139
139
140
- CIrq *irq_context = nullptr ;
140
+ auto *irq_context = nullptr ;
141
141
const int ch = pin2IrqChannel (pinNumber);
142
142
143
143
if (ch >= 0 && ch < MAX_IRQ_CHANNEL) {
@@ -194,7 +194,7 @@ void attachInterrupt(pin_size_t pinNumber, voidFuncPtr func, PinStatus mode) {
194
194
}
195
195
196
196
int attachIrq2Link (uint32_t pinNumber, PinStatus mode) {
197
- CIrq *irq_context = nullptr ;
197
+ auto *irq_context = nullptr ;
198
198
const int ch = pin2IrqChannel (pinNumber);
199
199
200
200
if (ch >= 0 && ch < MAX_IRQ_CHANNEL) {
@@ -248,7 +248,7 @@ int attachIrq2Link(uint32_t pinNumber, PinStatus mode) {
248
248
int detachIrq2Link (pin_size_t pinNumber) {
249
249
/* -------------------------------------------------------------------------- */
250
250
251
- CIrq *irq_context = nullptr ;
251
+ auto *irq_context = nullptr ;
252
252
const int ch = pin2IrqChannel (pinNumber);
253
253
254
254
if (ch >= 0 && ch < MAX_IRQ_CHANNEL) {
0 commit comments