Rev 1125 | Rev 1258 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1125 | Rev 1126 | ||
|---|---|---|---|
| Line 162... | Line 162... | ||
| 162 | line = line.replace("<ID>", getFreeModuleId(moduleName)) |
162 | line = line.replace("<ID>", getFreeModuleId(moduleName)) |
| 163 | elif line.find("<TIMER>") != -1: |
163 | elif line.find("<TIMER>") != -1: |
| 164 | line = line[:line.find("=")+1] + hex(timers) + " /* <TIMER> -- DO NOT REMOVE THIS COMMENT -- */" |
164 | line = line[:line.find("=")+1] + hex(timers) + " /* <TIMER> -- DO NOT REMOVE THIS COMMENT -- */" |
| 165 | timers += 1 |
165 | timers += 1 |
| 166 | elif line.find("<PCINT>") != -1: |
166 | elif line.find("<PCINT>") != -1: |
| 167 | line = line[:line.find("=")+1] + hex( |
167 | line = line[:line.find("=")+1] + hex(pcints) + " /* <PCINT> -- DO NOT REMOVE THIS COMMENT -- */" |
| 168 | pcints += 1 |
168 | pcints += 1 |
| 169 | 169 | ||
| 170 | moduleSection[c] = line; |
170 | moduleSection[c] = line; |
| 171 | c += 1 |
171 | c += 1 |
| 172 | 172 | ||