1
0
mirror of synced 2024-11-27 15:00:49 +01:00

remove redundent todo

This commit is contained in:
Hay1tsme 2023-02-12 03:11:55 -05:00
parent 631d1aaf7b
commit 47784820b7

View File

@ -207,18 +207,17 @@ static int my_bnusio_SetGout(uint8_t id, uint8_t value)
static int my_bnusio_GetAnalogIn(uint8_t id)
{
uint8_t gamebtns = 0;
taiko_dll.poll();
taiko_dll.get_gamebtns(&gamebtns);
if (gamebtns & 1 << id) {
if (gamebtns & 1 << id) {
return 0xffff;
}
return 0;
}
// TODO: Auto-hold test switch
static int my_bnusio_GetSwIn()
{
uint8_t opbtn;
@ -277,4 +276,4 @@ static int my_bnusio_GetServiceError(uint8_t id)
{
//dprintf("bnusio: GetServiceError %d\n", id);
return 0;
}
}