-
-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/bmorcelli/Bruce
- Loading branch information
Showing
6 changed files
with
36 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# These are supported funding model platforms | ||
|
||
github: bmorcelli | ||
patreon: # Replace with a single Patreon username | ||
open_collective: # Replace with a single Open Collective username | ||
ko_fi: brucefw | ||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
liberapay: # Replace with a single Liberapay username | ||
issuehunt: # Replace with a single IssueHunt username | ||
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry | ||
polar: # Replace with a single Polar username | ||
buy_me_a_coffee: bmorcelliz | ||
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ By Anton Grimpelhuber ([email protected]) | |
#define DEBUGP(x) if (DEBUG == 1) { x ; } | ||
|
||
// Shortcut to insert single, non-optimized-out nop | ||
#define NOP __asm__ __volatile__ ("nop") | ||
#define NOPP __asm__ __volatile__ ("nop") | ||
|
||
// Not used any more on esp8266, so don't bother | ||
// Tweak this if neccessary to change timing | ||
|
@@ -81,10 +81,10 @@ void delay_ten_us(uint16_t us) { | |
uint8_t timer; | ||
while (us != 0) { | ||
for (timer = 0; timer <= DELAY_CNT; timer++) { | ||
NOP; | ||
NOP; | ||
NOPP; | ||
NOPP; | ||
} | ||
NOP; | ||
NOPP; | ||
us--; | ||
} | ||
} | ||
|
@@ -143,8 +143,8 @@ void StartTvBGone() { | |
offtime = powerCode->times[ti]; // read word 1 - ontime | ||
ontime = powerCode->times[ti + 1]; // read word 2 - offtime | ||
|
||
rawData[k*2] = ontime * 10; | ||
rawData[(k*2)+1] = offtime * 10; | ||
rawData[k*2] = offtime * 10; | ||
rawData[(k*2)+1] = ontime * 10; | ||
} | ||
progressHandler(i, num_codes); | ||
irsend.sendRaw(rawData, (numpairs*2) , freq); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters