Mercurial > public > ostc4
comparison Small_CPU/Src/scheduler.c @ 1024:9fabad6436a2 GasConsumption
GPIO sleep cleanup:
During bringup of OSTC5 HW usage of new GPIO pins was introduced. To avoid not needed active GPIO pins during sleep some cleanup has been done (pins are only active if needed by new hardware, clocks deactivated during sleep etc.)
| author | Ideenmodellierer |
|---|---|
| date | Tue, 29 Jul 2025 17:15:35 +0200 |
| parents | c386ae6635e4 |
| children |
comparison
equal
deleted
inserted
replaced
| 1023:d268fc2b6052 | 1024:9fabad6436a2 |
|---|---|
| 344 } | 344 } |
| 345 | 345 |
| 346 if(GPIO_GetVersion() < global.dataSendToSlave.displayVersion) | 346 if(GPIO_GetVersion() < global.dataSendToSlave.displayVersion) |
| 347 { | 347 { |
| 348 GPIO_Activate_V2(); | 348 GPIO_Activate_V2(); |
| 349 GPIO_Init_V2(); | |
| 349 } | 350 } |
| 350 | 351 |
| 351 if(GPIO_GetVersion() > 0) | 352 if(GPIO_GetVersion() > 0) |
| 352 { | 353 { |
| 353 GPIO_HandleBuzzer(); | 354 GPIO_HandleBuzzer(); |
