Merge blargg's fix into adb.c
- <http://geekhack.org/index.php?topic=14290.msg1075201#msg1075201>
This commit is contained in:
parent
59ecced486
commit
c18c52f551
3 changed files with 108 additions and 112 deletions
|
@ -15,12 +15,15 @@ You should have received a copy of the GNU General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "stdint.h"
|
||||
#include <stdint.h>
|
||||
#include <util/delay.h>
|
||||
#include "adb.h"
|
||||
#include "led.h"
|
||||
|
||||
|
||||
void led_set(uint8_t usb_led)
|
||||
{
|
||||
// need a wait to send command without miss
|
||||
_delay_ms(100);
|
||||
adb_host_kbd_led(~usb_led);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue