fix void warnings

This commit is contained in:
Irmen de Jong 2023-04-18 23:47:31 +02:00
parent 5b2d29bef6
commit aa6b2357d8

View File

@ -930,12 +930,12 @@ sys {
sub poweroff_system() { sub poweroff_system() {
; use the SMC to shutdown the computer ; use the SMC to shutdown the computer
cx16.i2c_write_byte($42, $01, $00) void cx16.i2c_write_byte($42, $01, $00)
} }
sub set_leds_brightness(ubyte activity, ubyte power) { sub set_leds_brightness(ubyte activity, ubyte power) {
cx16.i2c_write_byte($42, $04, power) void cx16.i2c_write_byte($42, $04, power)
cx16.i2c_write_byte($42, $05, activity) void cx16.i2c_write_byte($42, $05, activity)
} }
asmsub wait(uword jiffies @AY) { asmsub wait(uword jiffies @AY) {