mirror of
https://github.com/irmen/prog8.git
synced 2024-09-07 03:54:27 +00:00
fix void warnings
This commit is contained in:
parent
5b2d29bef6
commit
aa6b2357d8
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user