1
0
mirror of https://github.com/whowechina/iidx_pico.git synced 2025-02-12 00:53:00 +01:00

Corrected some comment

This commit is contained in:
whowechina 2023-04-05 12:05:34 +08:00
parent 71082ef029
commit ebe2a2a268
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ static void core2_loop()
while (true) {
uint32_t angle = turntable_read();
rgb_set_angle(angle);
report.joy0 = angle >> 4;
report.joy0 = angle >> 4; // 12bit to 8bit
RUN_EVERY_N_MS(rgb_update(), 2);
turntable_update();
frame++;

View File

@ -65,5 +65,5 @@ void turntable_update()
uint16_t turntable_read()
{
return angle; // 12bit to 8bit
return angle; // 12bit
}