Added Todo's
This commit is contained in:
		
							parent
							
								
									c720cc76e2
								
							
						
					
					
						commit
						85f2b1edd6
					
				@ -25,7 +25,7 @@
 | 
				
			|||||||
#include <stdint.h>
 | 
					#include <stdint.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Global variable declaration
 | 
					// Global variable declaration
 | 
				
			||||||
uint32_t currTick = 0;
 | 
					uint32_t currTick = 0;		// Todo: Method/Interrupt to get the current-tick
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bool enable_boost = false;
 | 
					bool enable_boost = false;
 | 
				
			||||||
bool boost_highVoltage_nextHigh = true;
 | 
					bool boost_highVoltage_nextHigh = true;
 | 
				
			||||||
@ -109,7 +109,7 @@ int main()
 | 
				
			|||||||
				}
 | 
									}
 | 
				
			||||||
				
 | 
									
 | 
				
			||||||
				// When the signal should stop
 | 
									// When the signal should stop
 | 
				
			||||||
				boost_highVoltage_nextTick = currTick + 101		// Todo: Add calculation for pin high/low time
 | 
									boost_highVoltage_nextTick = currTick + 101		// Todo: Add calculation for PWM high/low time
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user